config nu

For env.

Edit nu configurations.

Command Type

built-in

Signature

> config nu {flags}

Flags

  • --default, -d: Print the internal default config.nu file instead.
  • --doc, -s: Print a commented config.nu with documentation instead.

Input/output types:

input output
nothing any

Examples

Open user’s config.nu in the default editor.

> config nu

Pretty-print a commented config.nu that explains common settings.

> config nu --doc | nu-highlight

Pretty-print the internal config.nu file which is loaded before user’s config.

> config nu --default | nu-highlight

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.