supreme commander; commander-in-chief
Refers to the highest-ranking military commander, often used in historical contexts (e.g., samurai armies) or metaphorically for a team leader.
In the Warring States period, Oda Nobunaga led his army as supreme commander.
He brought the team together as the project's commander-in-chief.