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