Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

conda
cheat
sheet

Conda cheat sheet

Educative Answers Team

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Conda is an open-source package and environment management system. It is primarily used to install multiple versions of software packages and their dependencies (e.g., Python and R) so that you can easily switch between them.

Cheat Sheet

Basics

Check the version number:

conda info

Update conda:

conda update conda

Install a package included in Anaconda:

conda install PACKAGE

Run a package:

PACKAGENAME

Update a package:

conda update PACKAGENAME

Help:

conda install --help

Environments

Create a new environment named py37 and install Python 3.7:

conda create --name py37 python=3.5 

Activate the new environment:

activate py37 (Windows)

Or:

source activate py37 (LINUX)

View all environments:

conda env list

List all packages and versions installed in the current active environment:

conda list

Delete an environment and everything in it:

conda env remove --name py37

Deactivate the current environment:

deactivate (Windows)
source deactivate (LINUX)

Searching

Search for a package:

conda search PACKAGENAME

Running the command above displays the associated information with the searched keywords.

RELATED TAGS

conda
cheat
sheet
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring