---
title: config reset
categories: |
env
version: 0.104.0
env: |
Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu.
usage: |
Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `config reset` for [env](/commands/categories/env.md)
<div class='command-title'>Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu.</div>
## 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
```nu
> config reset
```