conda create --name flye
conda activate flye
conda install flye
conda env list  //What environments do you have
conda list -n shop //What's in the environment called shop

More detail

A virtual environment is an area to work in that is associated with certain tools and versions.

It is often useful to work on different bioinformatics analyses or tasks in different virtual environments, as they may rely on particular versions of tools.

One way to set this up is to use a package manager called conda.

1/ Install miniconda

2/ Set up the bioconda channel

More information:

conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge

3/ Create new environment

conda create --name mrbayes

4/ Activate new environment (before installing the tool).

conda activate mrbayes

5/ Then install a tool

conda install mrbayes

Search here for tools:

6/ Deactivate the environment

conda deactivate