## zowe › config › edit

Edit an existing config file in your system's default text editor.

In a graphical environment, the application associated with JSON files will be launched. In a command-line environment, vi will be launched. To override the command-line editor used, specify it with the --editor option.

#### Usage

zowe config edit [options]

#### Options

- `--global-config` | `--gc` (boolean)

  - Target the global config files.

    Default value: false

- `--user-config` | `--uc` (boolean)

  - Target the user config files.

    Default value: false

- `--editor` | `--ed` (string)

  - Editor that overrides the default editor for this file type. Set the option to the editor's executable file location or the program's name: ie "--editor notepad".

#### Examples

- Edit global config file:

  - `zowe config edit --global-config`