Skip to main content

modular install

Installs a Modular package.


modular install [options] <package>


Installs a package such as the Mojo SDK. The package can be either a Modular-hosted package name (such as mojo), a fully-qualified URL for a TUF manifest repo, or a path to a local manifest repo. For normal installs, you'll always use a Modular-hosted package name. For example:

modular install mojo

Only very rare situations require a URL or path to a TUF manifest repo.


Install options

--arch <ARCH>

Specifies the target architecture.

--cpu <CPU>

Specifies the target CPU.

--package-folder <PACKAGE_FOLDER>

Forces the local package folder name. Package folders are typically derived from the install URL. This allows you specify the folder name used in your MODULAR_HOME pkg directory.

--quiet, -q

Disable verbose output and the progress bar.


Don't run post-install checks after installation.

Common options

--help, -h

Displays help information.