conda create --name envname python=3.10
conda env create --prefix /path/to/dir
conda env export environment-name.yml
conda install python=3.7
python -m ipykernel install --user --name=firstEnv
whereis python3
eval "$(/PATH/TO/ANACONDA/bin/conda shell.bash hook)"
or for any other shell
eval "$(/PATH/TO/ANACONDA/bin/conda shell.YOUR_SHELL_NAME hook)"