Docs Menu
Docs Home
/ /
Atlas CLI
/ /

atlas config edit

Opens the config file with the default text editor.

Public Preview: The atlas api sub-command, automatically generated from the MongoDB Atlas Admin API, offers full coverage of the Admin API and is currently in Public Preview (please provide feedback at https://feedback.mongodb.com/forums/930808-atlas-cli). Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.

Uses the default editor to open the config file. You can use EDITOR or VISUAL envs to change the default.

Command Syntax
atlas config edit [options]
Name
Type
Required
Description

-h, --help

false

help for edit

Name
Type
Required
Description

-P, --profile

string

false

# To open the config
atlas config edit

Back

describe

On this page