Question: how to os x yosemite?
Answer: Click the App Store icon on the Dock. ... 
Locate and select OS X Yosemite, then click Free Upgrade.
Type your Apple ID and Password to sign in. ... 
Once you've entered your Apple ID, your computer will begin downloading Yosemite.