Skip to main content
Community Scripts logo
Skip to Content
Tools & Add-onsAdd-ons

Glances

Install, update or remove the Glances system monitor with its web UI.

glances.sh installs glances[web] into a Python virtual environment and runs it in web server mode.

Run itOn the system you want to monitor. The script has no Proxmox VE host check
Supported OSAlpine uses the Alpine path; every other system uses the Debian/Ubuntu path (apt, systemd). The script does not reject other distributions
Port61208
Sourcetools/addon/glances.sh

Run

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/glances.sh)"

Prompts

One menu, Select an option::

ChoiceEffect
InstallInstalls Glances
UpdateUpgrades Glances in the existing environment. Exits with code 233 if /opt/glances/.venv does not exist
UninstallRemoves Glances
CancelExits

There is no confirmation after the menu.

What it creates

ItemDebian / UbuntuAlpine
Packagesgcc, lm-sensors, wireless-tools, curlgcc, musl-dev, linux-headers, python3-dev, python3, py3-pip, py3-virtualenv, lm-sensors, wireless-tools, curl
Python toolinguv through setup_uvuv through setup_uv
Application/opt/glances/.venv with glances[web]Same
Serviceglances (/etc/systemd/system/glances.service), ExecStart=/opt/glances/.venv/bin/glances -wglances (/etc/init.d/glances), added to the default runlevel
Addresshttp://<ip>:61208Same

The script sets no password. The web UI is open to everyone who can reach the port.

Update

Run the script again and choose Update. It runs uv pip install --upgrade "glances[web]" in the virtual environment and restarts the service.

There is no type=update mode and no update_ helper, so the container's update command does not offer Glances.

Remove

Choose Uninstall. The service is stopped and disabled, its unit or init script is deleted and /opt/glances is removed. The packages from the install step and uv stay.

Limits

  • Install does not check for an existing installation. It recreates the virtual environment (uv venv --clear) and rewrites the service.