How-To: Using Anaconda - Add Channel to Bottom of List in a Virtual Conda Environment via Command Line Interface

Summary

Add Channel to Bottom of Channel List in a Conda Environment via Command Line Interface

Body

Question

How do I add a channel to the bottom of the channel list in a virtual conda environment from the Command Line?

 

Answer

Note:  To activate an environment from the command line, see "How-To: Using Anaconda - Activate a Virtual Conda Environment via Command Line Interface"

1. From the Anaconda Prompt or Terminal command line (CLI) in an active virtual conda environment, enter "conda config --append channels <channel_name>".

Example channel: pkgs/main

command prompt window in venv_3_13 virtual environment with "conda config --append channels pkgs/main" as an example

 

2. Enter "conda config --show channels" to list channels in order of priority. New example channel is shown at bottom of list.

Anaconda Prompt with "conda config --show channels" command.

Details

Details

Article ID: 2196
Created
Thu 3/19/26 2:42 PM
Modified
Tue 5/5/26 5:13 PM

Related Articles

Related Articles (5)

Add Channel to Top of Channel List in a Conda Environment via Command Line Interface
Remove a Channel in a Conda Environment via Command Line Interface
A central guide for researchers to build stable and high-performance coding environments using the Conda ecosystem. It brings together best practices—such as choosing the right distribution and using "blueprints" to share work—to help you avoid technical conflicts and ensure your research can be perfectly recreated by others. By following these strategies, you can protect your productivity and make your software projects both portable and reliable.
Conda channels act like specialized "app stores" or online libraries where you can find and download different software packages for your projects. This article explains how to choose between major stores like the curated Anaconda Defaults or the massive, community-run Conda-Forge. It also covers how to set a "priority" for these stores so your computer always knows which one to check first to keep your software stable and up-to-date.
Index of Miniconda How-To Articles for Virtual Conda Environments