conda install: add page (#10525)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Daniel Speck 2023-07-30 14:48:37 +02:00 committed by GitHub
parent 0e94a3f802
commit 618a2a0ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# conda install
> Install packages into an existing conda environment.
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/install.html>.
- Install a single package into the currently active conda environment:
`conda install {{package}}`
- Install a single package into the currently active conda environment using channel conda-forge:
`conda install -c conda-forge {{package}}`
- Install a single package into the currently active conda environment using channel conda-forge and ignoring other channels:
`conda install -c conda-forge --override-channels {{package}}`
- Install multiple packages:
`conda install {{package1 package2 ...}}`
- Install a specific version of a package:
`conda install {{package}}={{version}}`
- Install a package into a specific environment:
`conda install --name {{environment}} {{package}}`
- Update a package in the current environment:
`conda install --upgrade {{package}}`
- Install a package and agree to the transactions without prompting:
`conda install --yes {{package}}`