1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-16 05:15:25 +02:00
tldr/pages/common/conda-create.md

17 lines
563 B
Markdown
Raw Normal View History

2021-05-26 21:14:24 -04:00
# 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:
2021-05-26 21:14:24 -04:00
`conda create {{[-y|--yes]}} {{[-n|--name]}} {{py39}} python={{3.9}} "{{numpy>=1.11}}"`
2021-05-26 21:14:24 -04:00
- Make exact copy of an environment:
`conda create --clone {{py39}} {{[-n|--name]}} {{py39-copy}}`
2021-05-26 21:14:24 -04:00
- Create a new environment with a specified name and install a given package:
`conda create {{[-n|--name]}} {{env_name}} {{package}}`