config env for env

Edit nu environment configurations.

Signature

> config env {flags}

Flags

  • --default, -d: Print default env.nu file instead.

Input/output types:

inputoutput
nothingany

Examples

allow user to open and update nu env

> config env

allow user to print default env.nu file

> config env --default,

allow saving the default env.nu locally

> config env --default | save -f ~/.config/nushell/default_env.nu