> This page location: /docs.md > /docs/tools-and-connectors.md > /docs/atlas/cli/current.md

> For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

<!--
Tab options on this page. Append to the .md URL to filter:
  ?tabs=<id,...>   select specific tabs (e.g. ?tabs=nodejs,shell)
  ?allTabs=true    include every tab
  (no param)       default: one tab per tabset

Available tabs:
  other tabs: bash, fish, powershell, zsh
-->

# Manage the Atlas CLI

Use the following resources to manage the Atlas CLI itself.

**Note:**

Before you run any Atlas CLI commands, you must:

- [Install the Atlas CLI](https://www.mongodb.com/docs/atlas/cli/current/install-atlas-cli/)

- [Connect to the Atlas CLI](https://www.mongodb.com/docs/atlas/cli/current/connect-atlas-cli/)

## Generate an Autocompletion Script

### Bash

To learn how to generate the autocompletion script for Bash, see [atlas completion bash.](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-completion-bash/)

## Create and Manage Atlas CLI Profiles

Use the following resources to create and manage profiles.

For step-by-step instructions on saving connection settings as profiles, see [Save Connection Settings.](https://www.mongodb.com/docs/atlas/cli/stable/atlas-cli-save-connection-settings/)

### Log In to the Atlas CLI

To authenticate with Atlas using the Atlas CLI, run the following command:

```sh

atlas auth login [options]

```

To learn more about the command syntax and parameters, see the Atlas CLI documentation for [atlas auth login.](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-auth-login/)

### Update a Profile in the Terminal

To update values in an Atlas CLI profile using the Atlas CLI, run the following command:

```sh

atlas config set <propertyName> <value> [options]

```

To learn more about the command syntax and parameters, see the Atlas CLI documentation for [atlas config set.](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-config-set/)

### Update a Profile in a Text Editor

To open the config file for your Atlas CLI profile with the default text editor using the Atlas CLI, run the following command:

```sh

atlas config edit [options]

```

To learn more about the command syntax and parameters, see the Atlas CLI documentation for [atlas config edit.](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-config-edit/)

### View a Profile

To return the details of the Atlas CLI profile you specify using the Atlas CLI, run the following command:

```sh

atlas config describe <name> [options]

```

To list all Atlas CLI profiles using the Atlas CLI, run the following command:

```sh

atlas config list [options]

```

To learn more about the syntax and parameters for the previous commands, see the Atlas CLI documentation for [atlas config describe](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-config-describe/) and [atlas config list.](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-config-list/)

### Rename a Profile

To rename an Atlas CLI profile using the Atlas CLI, run the following command:

```sh

atlas config rename <oldProfileName> <newProfileName> [options]

```

To learn more about the command syntax and parameters, see the Atlas CLI documentation for [atlas config rename.](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-config-rename/)

### Log Out of the Atlas CLI

To log out of your Atlas account using the Atlas CLI, run the following command:

```sh

atlas auth logout [options]

```

To learn more about the command syntax and parameters, see the Atlas CLI documentation for [atlas auth logout.](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-auth-logout/)
