title: Can I add a channel to a specific conda environment?
body: <p>I want to add a conda channel to a specific <a href="http://conda.pydata.org/docs/using/envs.html" rel="noreferrer">conda environment</a> but when I use </p>
  
  <pre><code>conda config --add channels glotzer
  </code></pre>
  
  <p>that channel is now available from all my conda environments.  In addition to testing an install from another environment, the <code>~/.condarc</code> file has the following:</p>
  
  <pre><code>channels:
    - glotzer
    - defaults
  </code></pre>
  
  <p>How would I configure conda so the channel is only available from a specific environment?</p>
  
  <p>I did find in the <a href="http://conda.pydata.org/docs/channels.html" rel="noreferrer">channel documentation</a> that for conda >= 4.1.0, putting channels at the bottom of the <code>~/.condarc</code> will prevent added channels from overiding the core package set.</p>
  
  <blockquote>
    <p>By default conda now prefers packages from a higher priority channel over any version from a lower priority channel. Therefore you can now safely put channels at the bottom of your
    channel list to provide additional packages that are not in the
    default channels, and still be confident that these channels will not
    override the core package set.</p>
  </blockquote>
  
  <p>I expect this will prevent most problems, except when in one environment you do want the package added through a channel to override a core package.</p>