Installation and upgrade
Supported installation
The recommended way to install RPi-Monitor is the unified installation script. It downloads the latest stable release from GitHub, checks the published SHA-256 checksum, installs the required packages, and configures the systemd service.
On Debian, Raspberry Pi OS, or Ubuntu, run:
curl -fsSL https://raw.githubusercontent.com/RPi-Monitor/RPi-Monitor/main/install.sh | sudo bash
The script requires Bash, root privileges, an interactive terminal for
confirmation, and curl, jq, and unzip. It installs the latest stable
release by default. If RPi-Monitor is already installed by this script,
running it again updates the installation and preserves the configuration in
/etc/rpimonitor. The web interface is available on port 8888 by default;
the listening port can be changed in daemon.conf.
Important
Run the script with Bash, not
sh. If the legacy Debian package is installed, remove it first withsudo apt remove rpimonitor; the package removal keeps/etc/rpimonitor. Back up your configuration before changing installation methods.
Installation options
Pass options after the script URL with bash -s --:
curl -fsSL https://raw.githubusercontent.com/RPi-Monitor/RPi-Monitor/main/install.sh | sudo bash -s -- --help
| Option | Description |
|---|---|
-h, --help | Show help and exit. |
-y, --yes | Confirm automatically; required when no interactive terminal is available. |
--version VERSION | Install a specific published release, such as 2.13.2. A leading v is optional. |
--pre-release | Select the newest published release, including pre-releases. |
--force | Reinstall even when the requested version is already installed. |
--dry-run | Preview system commands without applying installation changes. Root privileges are still required. |
--no-service | Do not enable, start, or restart the systemd service. |
For example, to install a specific release without prompting:
curl -fsSL https://raw.githubusercontent.com/RPi-Monitor/RPi-Monitor/main/install.sh | sudo bash -s -- --version 2.13.2 --yes
Options can be combined. --pre-release should be used only when you are
prepared to run a version that may not be stable.
Upgrade
For an installation managed by the unified installer, run the installation command again. It downloads and installs the latest stable release:
curl -fsSL https://raw.githubusercontent.com/RPi-Monitor/RPi-Monitor/main/install.sh | sudo bash
The installer preserves the existing configuration and monitoring data. It
adds missing templates without replacing local files; when a template differs
from the release version, that version is saved alongside it with a .new
suffix. The systemd service is restarted only if it is already running, so an
administrator’s disabled service remains disabled.
To install a particular published release, add --version VERSION to the
command. If that release is already installed, the installer exits without
reinstalling it; add --force when a reinstall is needed.
Important
The installer cannot update the legacy Debian package installation. If
rpimonitoris still installed through APT, back up your configuration, remove the package withsudo apt remove rpimonitor, then run the installer command above. Removing the package keeps/etc/rpimonitor, which the installer preserves.