> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ana org config

## Usage

```bash theme={null}
ana org config [OPTIONS]
```

## Description

Manages `anaconda-client` configuration. Use this command to view, set, or remove configuration variables. Configuration is stored in YAML files at the user or system level.

On most systems, the user configuration file is at `~/.continuum/anaconda-client/config.yaml`, or at the path controlled by the `BINSTAR_CONFIG_DIR` environment variable. Run `ana org config --files` to print the user and system config file paths on this machine.

## Options

Option

Default

Description

`--set <NAME> <VALUE>`

Set a configuration key to a value. Can be specified multiple times.

`--get <NAME>`

Get the current value of a configuration key.

`--remove <NAME>`

Remove a configuration key. Can be specified multiple times.

`--show`

Display all currently configured variables.

`-f`, `--files`

Show the paths to the user and system config files.

`--show-sources`

Display all identified config sources and their contents.

`--type <TYPE>`

The type of the values used in `--set` commands: `bool`, `int`, or `str`

`-u, --user`

`true`

Set a variable for the current user

`-s, --system`

`false`

Apply the setting for all users on the machine.

`-h`

Show help for this command.

## Configuration keys

Set the following configuration options with the `--set` flag:

```bash theme={null}
ana org config --set <OPTION> <VALUE>
```

Replace \<OPTION> with the configuration variable name.\

Replace \<VALUE> with the preferred value.

Option

Default

Description

`url`

`https://api.anaconda.org`

Sets the Anaconda API URL

`ssl_verify`

Controls SSL validation for HTTPS requests. Accepts `True`, `False`, or a path to a root CA PEM file.

`auto_register`

`yes`

Controls whether a new package is created automatically on Anaconda.org when you upload. If set to `no`, upload fails when the package does not already exist on the server.

## Examples

**Show the current configuration**

```bash theme={null}
ana org config --show
```

**Show configuration file locations**

```bash theme={null}
ana org config --files
```

**List every config source and its contents**

```bash theme={null}
ana org config --show-sources
```

**Get a specific variable**

```bash theme={null}
ana org config --get url
```

**Remove a configuration variable**

```bash theme={null}
ana org config --remove ssl_verify
```

**Set a configuration variable**

```bash theme={null}
ana org config --set auto_register no
```

**Set a system-wide variable**

```bash theme={null}
ana org config --set url https://api.anaconda.org --system
```
