Wall Street plunged Friday after President Trump “ordered” US companies to seek alternatives to doing business in China.

The Dow Jones Industrial Average dropped 623.34 points — or 2.4 percent — after Trump launched into a Twitter tirade lambasting China for intellectual property theft and fentanyl shipments to the US. The blue-chip index ended the day at 25,628.60.

“We don’t need China and, frankly, would be far…better off without them. The vast amounts of money made and stolen by China from the United States, year after year, for decades, will and must STOP.” Trump said in a series of tweets.

“Our great American companies are hereby ordered to immediately start looking for an alternative to China, including bringing .your companies HOME and making your products in the USA,” Trump said.

US execs were fuming over the twitter storm Friday.

“You cannot close the border to low skilled labor and order us to bring production back to America!” Jay Foreman, CEO of Basic Fun toy company lamented in an email to The Post.

“The relentless back and forth between the two sides is making it impossible for businesses that have built a manufacturing base in China over the past 30+ years to plan for the future,” Foreman said.

“Never have we ever experienced such an unhinged way of governance. It’s out of control and outrageous.”

Investors were also rattled. Both the S&P 500 and Nasdaq joined in the Dow’s drop, shedding 2.6 percent and 3.0 percent at the closing bell.

Trump also directed Fed-Ex, Amazon, UPS and the US Post Office to “search for & refuse” fentanyl shipments from China and other countries.

Shares of Amazon dropped 3.1 percent while Fedex fell 3.9 percent and UPS ended the day down 3.4 percent.

Apple, which makes many of its products in China, dropped 4.6 percent to $202.64 a share — making it the worst performer on the Dow.

“This escalates the trade war, unfortunately,” Donald Selkin, chief market strategist at Newbridge Securities, told The Post, adding that it is unclear that the President has the authority to order companies.

“The stocks taking the biggest beatings are the ones with the biggest China exposure,” Selkin said.

Trump’s remarks came following China announcing that it plans to impose $75 billion of tariffs on US goods including agricultural products and small aircraft as well as resume tariffs on US autos. The tariffs are set to go into effect in two stages on Sept. 1 and Dec. 15, mimicking the schedule the US plans for instituting tariffs on Chinese goods.

While Wall Street has weathered nearly 18 months of tariff-induced market turmoil, the latest tit-for-tat took on a different feel, analysts said.

“This was a deviation from the usual tweet trajectory,” Quincy Krosby, chief market strategist at Prudential Financial, told The Post.

Trump said he will be responding to China’s tariffs this afternoon.