What is the primary factor that dictates a star's entire life path and ultimate fate upon its formation?

Answer

The initial mass it collects from its surrounding nebula

The initial mass sets the core temperature and pressure, which dictates the nuclear fuel accessible and ultimately determines whether the star ends quietly or violently.

What is the primary factor that dictates a star's entire life path and ultimate fate upon its formation?
astronomystarstellar evolutionsupernovamass