diff --git a/pages/common/conda-export.md b/pages/common/conda-export.md new file mode 100644 index 00000000000000..ac6c59cf66cfa1 --- /dev/null +++ b/pages/common/conda-export.md @@ -0,0 +1,28 @@ +# conda export + +> Export environment details. +> More information: . + +- Export the current environment details to `stdout`: + +`conda export` + +- Export the current environment details to a `YAML` file: + +`conda export {{[-f|--file]}} {{path/to/environment.yaml}}` + +- Export details in a specific format: + +`conda export --format {{environment-json|environment-yaml|explicit|json|reqs|requirements|txt|yaml|yml}}` + +- Target an environment by name: + +`conda export {{[-n|--name]}} {{environment_name}}` + +- Target an environment by its path: + +`conda export {{[-p|--prefix]}} {{path/to/environment}}` + +- Include a specific channel: + +`conda export {{[-c|--channel]}} {{channel_name}}` diff --git a/pages/common/conda-init.md b/pages/common/conda-init.md new file mode 100644 index 00000000000000..81805b84b05a93 --- /dev/null +++ b/pages/common/conda-init.md @@ -0,0 +1,29 @@ +# conda init + +> Initialize conda for shell interaction. +> Most shells need to be closed and restarted for changes to take effect. +> More information: . + +- 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` diff --git a/pages/common/conda-notices.md b/pages/common/conda-notices.md new file mode 100644 index 00000000000000..002f34bc4b3a5e --- /dev/null +++ b/pages/common/conda-notices.md @@ -0,0 +1,16 @@ +# conda notices + +> Retrieve latest channel notifications. +> More information: . + +- Show notices for the default channel and all `.condarc` channels: + +`conda notices` + +- Include a specific channel: + +`conda notices {{[-c|--channel]}} {{channel_name}}` + +- Ignore default and `.condarc` channels: + +`conda notices {{[-c|--channel]}} {{channel_name}} --override-channels`