Docs Menu
Docs Home
/ /
Atlas CLI
/ /

atlas plugin install

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options
  • Examples

Install Atlas CLI plugin from a GitHub repository.

Install an Atlas CLI plugin from a GitHub repository. You can specify a GitHub repository using either the "<github-owner>/<github-repository-name>" format or a full URL. When you install the plugin, its latest release on GitHub is used by default. To install a specific version of the plugin, append the version number directly to the plugin name using the @ symbol.

MongoDB provides an example plugin: https://github.com/mongodb/atlas-cli-plugin-example

Command Syntax
atlas plugin install [<github-owner>/<github-repository-name>] [options]
Name
Type
Required
Description

<github-owner>/<github-repository-name>

string

false

Repository identifier.

Name
Type
Required
Description

-h, --help

false

help for install

Name
Type
Required
Description

-P, --profile

string

false

Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

# Install the latest version of the plugin:
atlas plugin install mongodb/atlas-cli-plugin-example
atlas plugin install https://github.com/mongodb/atlas-cli-plugin-example
# Install a specific version of the plugin:
atlas plugin install mongodb/atlas-cli-plugin-example@1.0.4
atlas plugin install https://github.com/mongodb/atlas-cli-plugin-example/@v1.2.3

Back

plugin