We have an environment called fastai, but let’s say we want to add to it…say R.
conda install --name fastai PACKAGE -PARAM
so for R:
conda install --name fastai r-essentials
Also, if your environment is currently active (with source), you can just do:
conda install PACKAGE
Source
https://conda.io/docs/user-guide/tasks/manage-pkgs.html
- I also used this to add cuda80 to my fastai env to utilize my GPU.