Anaconda install multiple packages

I have a list of 50 packages to be installed in the newly created environment. Is there way to install all these packages at once, without explicitly typing the package names for installing?

1 Like

dear spb.

Thank you for your contribution to the anaconda community.

Basically there is no way to install all these packages at once without explicitly typing the package name to install.

However, packages that are tied to each other will be installed at the same time.

Also, if there is a separate list, there is a way to create a shell file (or batch file on Windows) and install it.

Best regards.

How to create a shell file and install the packages?

thanks,
spb

dear spb.

thank you for your reply.
In the case below, it is a Linux example, but it describes how to create the file using bash.

If you make the file to be generated update.sh and make it executable with chmod + x, the scripts are one by one

conda install
or
conda update
to do what you want.

For other shells, try searching.
Best regards.

Hi @spb!

You may want to look into installing an environment from an environment.yml file. There is a lot of good information in the conda docs.