W3cubDocs

/Nushell

config reset for env

Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu.

Signature

> config reset {flags}

Flags

  • --nu, -n: reset only nu config, config.nu
  • --env, -e: reset only env config, env.nu
  • --without-backup, -w: do not make a backup

Input/output types:

input output
nothing nothing

Examples

reset nushell configuration files

>config reset

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/config_reset.html