LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

conda-activate

activate a conda environment

TLDR

Activate an environment
$ conda activate [env_name]
copy
Activate environment at specific path
$ conda activate [/path/to/env]
copy
Activate the base environment
$ conda activate base
copy
Activate an environment and verify it is active
$ conda activate [env_name] && conda info --envs
copy

SYNOPSIS

conda activate [envname|path_]

DESCRIPTION

conda activate switches the current shell session to use a specified conda environment, modifying the PATH environment variable and other shell variables to prioritize that environment's binaries, libraries, and packages. This is the primary mechanism for working with isolated conda environments.When an environment is activated, the shell prompt is typically modified to show the active environment name in parentheses, providing a visual indicator of which environment is currently in use. The activation process prepends the environment's bin directory to PATH, sets environment-specific variables like CONDAPREFIX and CONDADEFAULT_ENV, and may execute activation scripts included with certain packages.Conda environments can be activated by name (if stored in the default envs directory) or by full path to the environment directory. The base environment is conda's root environment and is activated by default unless autoactivatebase is disabled in conda configuration. Shell integration must be initialized via conda init for activation to work properly in bash, zsh, fish, or PowerShell.

INSTALL

sudo dnf install conda
copy
nix profile install nixpkgs#conda
copy

CAVEATS

Requires conda init to have been run for shell integration. Some shells may need sourcing the activation script manually.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid