President Trump apparently thinks lines are for losers.

The leader of the free world was in no mood to be left in the back of the pack Thursday during a visit to NATO’s new headquarters in Brussels.

Taking his “America First” foreign policy literally, he shoved the prime minister of Montenegro aside to get to the front of a group of alliance leaders.

Sporting a tight grin, Trump used his right hand to push back a bemused Prime Minsiter Duško Markovic to reach NATO Secretary-General Jens Stoltenberg.

Satisfied, he then puffed out his chest, raised his chin, adjusted his jacket and chatted with Lithuanian President Dalia Grybauskaite.

Markovic — whose small Balkan state officially becomes a NATO member June 5 — was left in the dust, but he gamely smiled and patted Trump on the back.

When asked about the photo-op faux pas, White House spokesman Sean Spicer said, “I have not seen the video,” USA Today reported.

The alpha male display was the second of the day for Trump, who was seen earlier in a death-grip handshake with French Prime Minister Emmanuel Macron.