DEV Community

Sabrina Pereira
Sabrina Pereira

Posted on • Edited on

31

Miniconda in WSL

Install

Download the latest version of miniconda:

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
Enter fullscreen mode Exit fullscreen mode

Install it:

bash Miniconda3-latest-Linux-x86_64.sh
Enter fullscreen mode Exit fullscreen mode

After Installation

To install conda's shell functions, first restart your shell, then:

conda init
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

Remove the installation file from your directory:

rm Miniconda3-latest-Linux-x86_64.sh
Enter fullscreen mode Exit fullscreen mode

Using Miniconda

To get into your conda environment

conda activate
Enter fullscreen mode Exit fullscreen mode

To create a new environment:

conda create --name <new-env-name> 
Enter fullscreen mode Exit fullscreen mode

To view all your environments:

conda env list
Enter fullscreen mode Exit fullscreen mode

Conda cheat sheet PDF here.

Other useful things to know

Open current directory in file explorer

explorer.exe .
Enter fullscreen mode Exit fullscreen mode

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (3)

Collapse
 
debapriyadas profile image
Debapriya Das

Very useful and straight-forward.

Collapse
 
zeerau profile image
Zarau baidu

thank you for this brief guide. simple and easy

Collapse
 
aweheid profile image
AWeheid

I really appreciate quick straight forward guidance. Thanks alot! It's very clear

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay