Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-21 00:19:51 +00:00
parent c3f5e8d7ab
commit 8d00ec1c41
29 changed files with 728 additions and 15 deletions

34
tldr/conda-init Normal file
View 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`