# Install

Glances is available on `PyPI`. By using PyPI, you are sure to have the latest stable version.

To install, simply use `pip`:

    pip install glances

Note: Python headers are required to install psutil. For instance, on Debian/Ubuntu, you must first install the python-dev package. On Fedora/CentOS/RHEL, first, install the python-devel package. For Windows, psutil can be installed from the binary installation file.

You can also install the following libraries to use the optional features (such as the web interface, export modules, etc.):

    pip install glances[all]

To upgrade Glances and all its dependencies to the latest versions:

    pip install --upgrade glances
    pip install --upgrade psutil
    pip install --upgrade glances[all]

For additional installation methods, read the official README file.

# Shell tab completion

Glances 4.3.2 and higher includes shell tab autocompletion thanks to the –print-completion option.

For example, on a Linux operating system with Bash shell:

    $ glances --print-completion bash | sudo tee -a /etc/bash_completion.d/glances
    $ source /etc/bash_completion.d/glances

Following shells are supported: bash, zsh and tcsh.