DEV Community

Sabrina Pereira
Sabrina Pereira

Posted on • Edited on

33

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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

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

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay