Question: how to reinstall command key on mac?
Answer: Shut down your Mac.
Hold down Command-Option/Alt-R and press the Power button. ... 
Hold down those keys until you a spinning globe and the message "Starting Internet Recovery. ... 
The message will be replaced with a progress bar. ... 
Wait for the MacOS Utilities screen to appear.