Skip to main content
Log in

modular install

Installs a Modular package. DEPRECATED.

Synopsis

modular install [options] <package>
modular install [options] <package>

Description

The modular CLI is deprecated. Instead use Magic.

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
modular install mojo

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

Options

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.

--no-checks

Don't run post-install checks after installation.

Common options

--help, -h

Displays help information.

Was this page helpful?