mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 01:56:03 +00:00
Update cheatsheets
This commit is contained in:
34
tldr/conda-init
Normal file
34
tldr/conda-init
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# conda init
|
||||
|
||||
> Initialize conda for shell interaction.
|
||||
> Most shells need to be closed and restarted for changes to take effect.
|
||||
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/init.html>.
|
||||
|
||||
- Initialize a specific shell (if none is specified, defaults to `bash` for UNIX and `powershell` for Windows):
|
||||
|
||||
`conda init {{zsh|bash|powershell|fish|tcsh|xonsh}}`
|
||||
|
||||
- Initialize all available shells:
|
||||
|
||||
`conda init --all`
|
||||
|
||||
- Initialize conda for all users on the system:
|
||||
|
||||
`conda init --system`
|
||||
|
||||
- Don't initialize conda for the current user:
|
||||
|
||||
`conda init --no-user`
|
||||
|
||||
- Add `condabin/` directory to PATH:
|
||||
|
||||
`conda init --condabin`
|
||||
|
||||
- Undo effects of the last `conda init`:
|
||||
|
||||
`conda init --reverse`
|
||||
Reference in New Issue
Block a user