MagicMirror² DocsMagicMirror² Docs
Donate
Discord
Forum
GitHub
Donate
Discord
Forum
GitHub
  • Getting Started

    • Introduction
    • Requirements
    • Installation & Usage
    • Upgrade Guide
  • Configuration

    • Introduction
    • Autostart your MagicMirror²
    • Raspberry Specific
  • Modules

    • Introduction
    • Module Configuration
    • Default Modules

      • Alert
      • Calendar
      • Clock
      • Compliments
      • Hello World
      • News Feed
      • Update Notification
      • Weather Module
    • Animation Guide
  • Module Development

    • Introduction
    • The Core module file
    • The Node Helper
    • MagicMirror Helper Methods
    • Logger
    • Notifications
    • Weather Module Weather Provider Development
    • How to write good documentation
  • About

    • MagicMirror² Manifesto
    • Contributing Guidelines
    • Donate
    • Support
    • License

Upgrade Guide

WARNING

Always backup your config.js, custom.css and modules folder before you start the upgrade process!

Manual Upgrade

If you want to update your MagicMirror² to the latest version, use your terminal to go to your MagicMirror folder and type the following command:

git pull && npm run install-mm

If you changed nothing more than the config or the modules, this should work without any problems.

WARNING

Using 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!

Type 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.

MagicMirror² updates may change the minimum version of Node.js that is required, and the installation script above may fail if your system does not meet that minimum requirement. You can find information on installing newer versions of Nodes.js here and here. And you can find information on the minimum version of Node.js that is required by MagicMirror² here or by running the upgrade script above and reading any error messages.

Alternative Upgrade Methods

NOTE

Users who prefer a straightforward, automated solution may find alternative methods more practical. Although convenient, not using the manual method above may mean that you gain less insight into the system, which could make it harder to troubleshoot issues independently.

Community-Maintained Automatic Upgrade Script

Sam (@sdetweil, long time contributor of the MagicMirror² framework) maintains an easy-to-use update script: https://github.com/sdetweil/MagicMirror_scripts

Help us improve this page!
Last Updated:: 6/9/25, 5:54 PM
Prev
Installation & Usage