Home Explore Blog CI



nushell

commands/docs/config.md
62e40d06e973ef9a587a78854a3e4ba7ca706926fe9130e30000000300000869
---
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 |

Chunks
e205e3be (1st chunk of `commands/docs/config.md`)
Title: config command: Edit nushell configuration files
Summary
The `config` command allows users to edit nushell configuration files. It requires one of the following subcommands: `config env` (edit environment configurations), `config flatten` (show configuration in flattened form), `config nu` (edit nu configurations), `config reset` (reset configurations to default), and `config use-colors` (get color output configuration).