mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 15:58:42 +00:00
Update cheatsheets
This commit is contained in:
21
conda-create
Normal file
21
conda-create
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user