modular auth

Authorizes access to Modular services.


modular auth [options] <auth_token>


Authorizes your access to Modular services, such as your access to install Mojo.

This bootstraps authentication and authorization for Modular, and should rarely be necessary. When you install the modular CLI with the curl command from, your authorization is already verified. However, if you manually install the modular tool or you delete your modular.cfg file, then you’ll need to run this command and pass it the auth token associated with your Modular account from


Common options

--help, -h

Displays help information.