## Initial setup [Anaconda](AnaConda) setup writes a few lines to your `.zshrc`(mac) or `.bashrc`(linux). I prefer to move these to a file named `$HOME/bin/conda_stuff` (with `$HOME/bin` in my `PATH`) so that it doesn't run by default, but rather I can switch it on by typing merely: ```bash $ . conda_stuff ``` ## Creating an environment ```bash conda create --name py310a python=3.10 conda create --name py39a python=3.9 ``` ## Activating an environment ```bash conda activate py310a ``` ## Deactivating an environment ```bash conda deactivate ``` ## Anaconda and Cygwin ```bash conda init bash ``` Now for cygwin, you need to either add the following to your `.bashrc`, or else create a separate file (like I do) called e.g. `$HOME/bin/conda_stuff` that you can source with `. conda_stuff` which prevents the problem of the conda stuff taking a short time to run (a shell taking a second to start can be annoying). ```bash # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! eval "$('/cygdrive/c/Users/john/anaconda3/Scripts/conda.exe' 'shell.bash' 'hook')" # <<< conda initialize <<< ```Page AnacondaInitialSetup1 does not exist yet.