# Upgrade Guide
Always backup your
modules folder before you start the upgrade process!
If you want to update your MagicMirror² to the latest version, use your terminal to go to your Magic Mirror folder and type the following command:
git pull && npm install --only=prod --omit=dev
If you changed nothing more than the config or the modules, this should work without any problems.
git reset --hard as described below will delete all your changes made in the source code, so only execute this if you know what you are doing!
git status to see your changes, if there are any, you can reset them with
git reset --hard. After that,
git pull should be possible.
If you want to try the community maintained automated update then, please see alternative installation methods