# Install glances with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Alternative to top/htop. Version 4.5.6 via Homebrew; verified 2026-08-02. Also installable with debian: sudo apt install glances.

## Install

```sh
sudo av install brew:glances
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install glances
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install glances
```

  Evidence: MacPorts ports tree: sysutils/glances/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add glances
```

  Evidence: Alpine Linux edge package indexes: glances from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install glances
```

  Evidence: Debian stable package indexes: glances from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install glances
```

  Evidence: Fedora Rawhide package metadata: glances from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#glances
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gl/glances/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S glances
```

  Evidence: Arch Linux sync databases: glances from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install python313-Glances
```

  Evidence: openSUSE Tumbleweed package metadata: python313-Glances from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:glances
- **Package manager:** Homebrew
- **Version:** 4.5.6
- **Source summary:** Alternative to top/htop
- **Homepage:** <https://nicolargo.github.io/glances/>
- **Repository:** <https://github.com/nicolargo/glances>
- **Last updated:** 2026-08-02T17:10:42Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- glances (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.5.6
## Project history and usage

Glances is a Python system monitor that compresses CPU, memory, disk, network, process, sensor, container, and service data into a terminal or web dashboard. It is often described as an alternative to top and htop, but its project documentation emphasizes remote monitoring, APIs, export modules, and plugin-oriented extensibility.

### Project history

Public development traces back to the early 2010s in the GitHub repository. The project grew from a terminal dashboard into a cross-platform monitoring application with curses, web, client/server, REST, XML-RPC, stdout, CSV, JSON, export, Docker, and Python API use cases.

The documentation describes Glances as an open architecture built in Python around libraries that gather system information. That architecture let the project add plugins and export modules without turning the core command into a single-purpose top clone.

### Adoption history

Glances spread through Python packaging and operating-system package repositories because it gives administrators one command that works across Linux, macOS, Windows, BSD-like systems, containers, and remote hosts. Its repository advertises PyPI, Docker, contributor, download, and community badges, reflecting use both as a local troubleshooting tool and as a lightweight monitoring endpoint.

### How it is used

Practitioners run glances for an immediate terminal overview, glances -w for a browser dashboard and REST API, glances -s and glances -c for client/server monitoring, glances --stdout or --stdout-json for scripts, and glances --fetch for a quick machine summary. Optional extras enable web and export features, while the Python API lets scripts consume the same plugin data.

### Why package nerds care

For package users, Glances is attractive because a single executable can replace a pile of small inspection commands during triage. For maintainers, the package is a Python application with optional extras, psutil-based system bindings, shell completion support, Docker images, and many OS-level distribution targets.

### Timeline

- 2011: Early public GitHub commits show the project already tracking screenshots and monitoring UI work.
- 2018: Documentation examples show stdout CSV output for scripting-oriented monitoring.
- 2020s: Documentation covers terminal, web, API, export, Docker, and Python-library modes.

### Related projects

- psutil, top, htop, Docker, Read the Docs, PyPI.

### Sources

- <https://api.github.com/repos/nicolargo/glances/commits?per_page=1&until=2012-01-01T00:00:00Z>
- <https://raw.githubusercontent.com/nicolargo/glances/develop/README.rst>
- <https://raw.githubusercontent.com/nicolargo/glances/develop/docs/index.rst>
- <https://raw.githubusercontent.com/nicolargo/glances/develop/docs/install.rst>


## Security Notes

No matching local secret-handling manifest was found for glances. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: ~/.config/glances/glances.conf, /etc/glances/glances.conf, /usr/share/doc/glances/glances.conf
- macOS: ~/.config/glances/glances.conf, ~/Library/Application Support/glances/glances.conf, /usr/local/etc/glances/glances.conf, /usr/share/doc/glances/glances.conf
- Windows: %APPDATA%\glances\glances.conf
## Other Package-Manager Records

- Debian apt - glances - 4.3.1+dfsg-1: normalized package name match | Debian stable package indexes: glances from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Curses-based monitoring tool | https://github.com/nicolargo/glances
- Debian apt - glances-doc - 4.3.1+dfsg-1: normalized package name match | Debian stable package indexes: glances-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Documentation for glances Curses-based monitoring tool | https://github.com/nicolargo/glances
- Nix - glances: normalized package name match | nixpkgs package indexes: pkgs/by-name/gl/glances/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - glances - 3.4.0.3+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: glances from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Curses-based monitoring tool | https://github.com/nicolargo/glances
- Ubuntu apt - glances-doc - 3.4.0.3+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: glances-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Documentation for glances Curses-based monitoring tool | https://github.com/nicolargo/glances
- apk - glances - 4.5.5-r0: normalized package name match | Alpine Linux edge package indexes: glances from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI curses based monitoring tool | https://nicolargo.github.io/glances/
- apk - glances-doc - 4.5.5-r0: normalized package name match | Alpine Linux edge package indexes: glances-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI curses based monitoring tool (documentation) | https://nicolargo.github.io/glances/
- dnf - glances - 4.5.6-2.fc45: normalized package name match | Fedora Rawhide package metadata: glances from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A cross-platform system monitoring tool | https://nicolargo.github.io/glances/
- pacman - glances - 4.5.5-1: normalized package name match | Arch Linux sync databases: glances from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | CLI curses-based monitoring tool | https://nicolargo.github.io/glances
- zypper - python313-Glances - 4.5.5-2.2: normalized package name match | openSUSE Tumbleweed package metadata: python313-Glances from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A cross-platform curses-based monitoring tool | https://github.com/nicolargo/glances
- zypper - python314-Glances - 4.5.5-2.2: normalized package name match | openSUSE Tumbleweed package metadata: python314-Glances from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A cross-platform curses-based monitoring tool | https://github.com/nicolargo/glances
- MacPorts - glances: normalized package name match | MacPorts ports tree: sysutils/glances/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/glances.yml](https://github.com/mxcl/pkgdb/blob/main/combined/glances.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
