> ## 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.

# anaconda org config

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

## Usage

```bash theme={null}
anaconda 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 `anaconda org config --files` to print the user and system config file paths on this machine.

## Options

<GTable cols="28% 38% 34%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Default</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`--set <NAME> <VALUE>`</GCell>
      <GCell>Set a configuration key to a value. Can be specified multiple times.</GCell>
    </GRow>

    <GRow>
      <GCell>`--get <NAME>`</GCell>
      <GCell>Get the current value of a configuration key.</GCell>
    </GRow>

    <GRow>
      <GCell>`--remove <NAME>`</GCell>
      <GCell>Remove a configuration key. Can be specified multiple times.</GCell>
    </GRow>

    <GRow>
      <GCell>`--show`</GCell>
      <GCell>Display all currently configured variables.</GCell>
    </GRow>

    <GRow>
      <GCell>`-f`, `--files`</GCell>
      <GCell>Show the paths to the user and system config files.</GCell>
    </GRow>

    <GRow>
      <GCell>`--show-sources`</GCell>
      <GCell>Display all identified config sources and their contents.</GCell>
    </GRow>

    <GRow>
      <GCell>`--type <TYPE>`</GCell>

      <GCell />

      <GCell>The type of the values used in `--set` commands: `bool`, `int`, or `str`</GCell>
    </GRow>

    <GRow>
      <GCell>`-u, --user`</GCell>
      <GCell>`true`</GCell>
      <GCell>Set a variable for the current user</GCell>
    </GRow>

    <GRow>
      <GCell>`-s, --system`</GCell>
      <GCell>`false`</GCell>
      <GCell>Apply the setting for all users on the machine.</GCell>
    </GRow>

    <GRow>
      <GCell>`-h`</GCell>
      <GCell>Show help for this command.</GCell>
    </GRow>
  </GBody>
</GTable>

## Configuration keys

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

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

<Comments>
  Replace \<OPTION> with the configuration variable name.<br />
  Replace \<VALUE> with the preferred value.
</Comments>

<GTable cols="20% 35% 45%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Default</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`url`</GCell>
      <GCell>`https://api.anaconda.org`</GCell>
      <GCell>Sets the Anaconda API URL</GCell>
    </GRow>

    <GRow>
      <GCell>`ssl_verify`</GCell>

      <GCell />

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

    <GRow>
      <GCell>`auto_register`</GCell>
      <GCell>`yes`</GCell>
      <GCell>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.</GCell>
    </GRow>
  </GBody>
</GTable>

## Examples

**Show the current configuration**

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

**Show configuration file locations**

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

**List every config source and its contents**

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

**Get a specific variable**

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

**Remove a configuration variable**

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

**Set a configuration variable**

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

**Set a system-wide variable**

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