---
title: config
categories: |
env
version: 0.104.0
env: |
Edit nushell configuration files.
usage: |
Edit nushell configuration files.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `config` for [env](/commands/categories/env.md)
<div class='command-title'>Edit nushell configuration files.</div>
## Signature
```> config {flags} ```
## Input/output types:
| input | output |
| ------- | ------ |
| nothing | string |
## Notes
You must use one of the following subcommands. Using this command as-is will only produce this help message.
## Subcommands:
| name | description | type |
| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| [`config env`](/commands/docs/config_env.md) | Edit nu environment configurations. | built-in |
| [`config flatten`](/commands/docs/config_flatten.md) | Show the current configuration in a flattened form. | built-in |
| [`config nu`](/commands/docs/config_nu.md) | Edit nu configurations. | built-in |
| [`config reset`](/commands/docs/config_reset.md) | Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu. | built-in |
| [`config use-colors`](/commands/docs/config_use-colors.md) | Get the configuration for color output. | built-in |