1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

conda-create: add page (#6043)

This commit is contained in:
Luke Harold Miles 2021-05-26 21:14:24 -04:00 committed by GitHub
parent abc32c236d
commit 0ddefb9a9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,16 @@
# conda create
> Create new conda environments.
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/create.html>.
- Create a new environment named `py39`, and install Python 3.9 and numpy v1.11 or above in it:
`conda create --yes --name {{py39}} python={{3.9}} "{{numpy>=1.11}}"`
- Make exact copy of an environment:
`conda create --clone {{py39}} --name {{py39-copy}}`
- Create a new environment with a specified name and install a given package:
`conda create --name {{env_name}} {{package_name}}`