config env for env
Edit nu environment configurations.
Signature
> config env {flags}
Flags
-
--default, -d: Print the internal defaultenv.nufile instead. -
--doc, -s: Print a commentedenv.nuwith 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,
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/config_env.html