how is the president of the commission elected?
If an absolute majority of MEPs support the nominee, they are elected. ... The Parliament then votes on the Commission as a whole; if approved, the European Council, acting by a qualified majority, appoints the president and their team to office.