The Modular command line interface.


modular <command>
modular [options]


The modular CLI allows you to interact with Modular’s products.

Currently, it’s available for Linux only and it’s installed as a Debian package. To install modular, visit

To update modular, use apt like you would for any package:

sudo apt update
sudo apt install modular

For information about updates, see the modular changelog.


install — Installs a Modular package.

uninstall — Uninstalls a Modular package.

auth — Authorizes access to Modular services.

clean — Removes all packages and settings.

host-info — Prints host hardware information.

config-set — Sets a configuration value.

config-list — Lists all configuration values.


Diagnostic options

--version, -v

Prints the Modular version and exits.

Common options

--help, -h

Displays help information.