config env

For env.

Edit nu environment configurations.

Command Type

built-in

Signature

> config env {flags}

Flags

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

Input/output types:

input output
nothing any

Examples

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

> config env

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

> config env --doc | nu-highlight,

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

> config env --default | nu-highlight,

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