TheStreet's founder and Action Alerts PLUS Portfolio Manager Jim Cramer was pleased with Caterpillar's (CAT) rolling 3-month retail sales numbers, which were released on Wednesday.

Total machines retail sales rose 24% year-over-year as of May.

"I do like Caterpillar longer-term," Cramer said.

Want exclusive investing insight from Jim Cramer? Get 24/7 access to Jim's charitable trust portfolio with a free trial to Action Alerts PLUS!

More from Video

Former U.S. Education Secretary: Voters Are to Blame for Struggling Schools

Former U.S. Education Secretary: Voters Are to Blame for Struggling Schools

Meet Blackbird, the New 'Uber of the Skies'

Meet Blackbird, the New 'Uber of the Skies'

Here's How to Trade Walmart, Nordstrom, Macy's and J.C. Penney After Earnings

Here's How to Trade Walmart, Nordstrom, Macy's and J.C. Penney After Earnings

Here's Why Stock Picking Is Especially Important in the Retail Sector

Here's Why Stock Picking Is Especially Important in the Retail Sector

Tip For Financial Advisors: Think Outside the Box

Tip For Financial Advisors: Think Outside the Box