Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli config edit

On this page

  • Syntax
  • Options
  • Inherited Options
  • Examples

Opens the config file with the default text editor.

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

mongocli config edit [options]
Name
Type
Required
Description
-h, --help
false
help for edit
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
To open the config
$ mongocli config edit
←  mongocli config describemongocli config list →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.