conda config

CONDA(1)                         User Commands                        CONDA(1)



NAME
       conda - conda config

DESCRIPTION
       usage: conda config [-h] [--json] [--debug] [--verbose]

       [--system | --env | --file FILE]
              (--show  [SHOW  [SHOW  ...]]  |  --show-sources  |  --validate |
              --describe [DESCRIBE [DESCRIBE ...]] | --write-default  |  --get
              [KEY  [KEY  ...]]  |  --append KEY VALUE | --prepend KEY VALUE |
              --set KEY VALUE |  --remove  KEY  VALUE  |  --remove-key  KEY  |
              --stdin)

       Modify configuration values in .condarc.  This is modeled after the git
       config command.  Writes to the user .condarc file (user .condarc  path)
       by default.

OPTIONS
   optional arguments:
       -h, --help
              Show this help message and exit.

       --json Report all output as json. Suitable for using conda programmati‐
              cally.

       --debug
              Show debug output.

       --verbose, -v
              Use once for info, twice for debug, three times for trace.

       --system
              Write to the system .condarc file (system .condarc path). Other‐
              wise writes to the user config file (user .condarc path).

       --env  Write  to  the active conda environment .condarc file (root pre‐
              fix/envs/build-environment). If no environment is active,  write
              to the user config file (user .condarc path).

       --file FILE
              Write  to  the  given  file. Otherwise writes to the user config
              file (user .condarc path) or the file path given  by  the  'CON‐
              DARC' environment variable, if it is set (default: user .condarc
              path).

       --show [SHOW [SHOW ...]]
              Display configuration values as calculated and compiled.  If  no
              arguments given, show information for all configuration values.

       --show-sources
              Display all identified configuration sources.

       --validate
              Validate all configuration sources.

       --describe [DESCRIBE [DESCRIBE ...]]
              Describe  given configuration parameters. If no arguments given,
              show information for all configuration parameters.

       --write-default
              Write the default configuration to a file. Equivalent to  `conda
              config  --describe  >  ~/.condarc`  when  no --env, --system, or
              --file flags are given.

       --get [KEY [KEY ...]]
              Get a configuration value.

       --append KEY VALUE
              Add one configuration value to the end of a list key.

       --prepend KEY VALUE, --add KEY VALUE
              Add one configuration value to the beginning of a list key.

       --set KEY VALUE
              Set a boolean or string key

       --remove KEY VALUE
              Remove a configuration value from a list key. This  removes  all
              instances of the value.

       --remove-key KEY
              Remove a configuration key (and all its values).

       --stdin
              Apply  configuration  information  given  in  yaml  format piped
              through stdin.

              See  `conda  config  --describe`  or  https://conda.io/docs/con‐
              fig.html for details on all the options that can go in .condarc.

              Examples:

              Display all configuration values as calculated and compiled:

              conda config --show

              Display all identified configuration sources:

              conda config --show-sources

              Describe all available configuration options:

              conda config --describe

              Add the conda-canary channel:

              conda config --add channels conda-canary

              Set the output verbosity to level 3 (highest):

              conda config --set verbosity 3

              Get the channels defined in the system .condarc:

              conda config --get channels --system

              Add the 'foo' Binstar channel:

              conda config --add channels foo

              Disable the 'show_channel_urls' option:

              conda config --set show_channel_urls no



Anaconda, Inc.                     May 2018                           CONDA(1)