The MongoDB Atlas CLI is a modern command line interface that enables you to manage MongoDB Atlas from the terminal.
brew install mongodb-atlas-cli
See Install or Update the Atlas CLI to see all the installation methods available.
Download the appropriate version for your platform from Atlas CLI releases. After you download the library, you can run it from anywhere and don't need to install it into a global location. This works well for shared hosts and other systems where you don't have a privileged account.
You can place this binary somewhere in your PATH
for ease of use.
/usr/local/bin
is the most probable location.
git clone https://github.com/mongodb/mongodb-atlas-cli.git
cd mongodb-atlas-cli
To build atlascli
, run:
make build
The resulting atlas
binary is placed in ./bin
.
To install the atlas
binary in $GOPATH/bin
, run:
make install
Note: running make build
is not needed when running make install
.
To get a list of available commands, run atlas help
or check our documentation for more details.
To use atlascli
, open your terminal, run atlas auth login
, and follow the prompted steps.
If you install via homebrew no additional actions are needed.
To get specific instructions for your preferred shell, run:
atlas completion <bash|zsh|fish|powershell> --help
See our CONTRIBUTING.md guide.
MongoDB Atlas CLI is released under the Apache 2.0 license. See LICENSE