Miniconda in WSL
Sabrina Pereira
Posted on September 27, 2022
Install
Download the latest version of miniconda:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
Install it:
bash Miniconda3-latest-Linux-x86_64.sh
After Installation
To install conda's shell functions, first restart your shell, then:
conda init
If you'd prefer that conda's base environment is not activated on startup, set the auto_activate_base parameter to false:
conda config --set auto_activate_base false
Remove the installation file from your directory:
rm Miniconda3-latest-Linux-x86_64.sh
Using Miniconda
To get into your conda environment
conda activate
To create a new environment:
conda create --name <new-env-name>
To view all your environments:
conda env list
Conda cheat sheet PDF here.
Other useful things to know
Open current directory in file explorer
explorer.exe .
💖 💪 🙅 🚩
Sabrina Pereira
Posted on September 27, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.