WSL installation
To install Conda in WSL (Windows Subsystem for Linux), you can follow these steps:
Step 1: Install WSL and Set Up a Linux Distribution
You can find Ubunto(WSL) in Microsoft store
Step 2: Download and Install Miniconda or Anaconda
You can choose to install either Miniconda (a minimal installer for Conda) or Anaconda (a larger distribution including many scientific packages).
Install Anaconda
Open your WSL terminal.
Download the Anaconda installer script using
wgetorcurl:wget https://repo.anaconda.com/archive/Anaconda3-latest-Linux-x86_64.shRun the installer script:
bash Anaconda3-latest-Linux-x86_64.shFollow the prompts during the installation. Accept the license agreement, specify the installation path (default is usually fine), and choose whether to initialize Anaconda.
Initialize Conda (if not done during installation):
source ~/anaconda3/bin/activateUpdate Conda to the latest version:
conda update conda
Step 3: Verify Installation
Close and reopen your WSL terminal or run the following command to activate Conda:
source ~/.bashrcVerify that Conda is installed and working correctly:
conda --version
You should see the Conda version printed in the terminal, indicating that Conda has been successfully installed.
By following these steps, you will have Conda installed and ready to use in your WSL environment.
Last updated
Was this helpful?