-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs/document environment variables (#746)
I would like to extend this document, but i'm done for now. Just wanted to get the fixes in and document the variables some where
- Loading branch information
1 parent
f1030ef
commit 7a5ffd2
Showing
5 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
part: pixi | ||
title: Environment | ||
description: The resulting environment of a pixi installation. | ||
--- | ||
|
||
# Environment variables | ||
The following environment variables are set by pixi, when using the `pixi run`, `pixi shell`, or `pixi shell-hook` command: | ||
|
||
- `PIXI_PROJECT_ROOT`: The root directory of the project. | ||
- `PIXI_PROJECT_NAME`: The name of the project. | ||
- `PIXI_PROJECT_MANIFEST`: The path to the manifest file (`pixi.toml`). | ||
- `PIXI_PROJECT_VERSION`: The version of the project. | ||
- `PIXI_PROMPT`: The prompt to use in the shell, also used by `pixi shell` itself. | ||
- `PIXI_ENVIRONMENT_NAME`: The name of the environment, defaults to `default`. | ||
- `PIXI_ENVIRONMENT_PLATFORMS`: The path to the environment. | ||
- `CONDA_PREFIX`: The path to the environment. (Used by multiple tools that already understand conda environments) | ||
- `CONDA_DEFAULT_ENV`: The name of the environment. (Used by multiple tools that already understand conda environments) | ||
- `PATH`: We prepend the `bin` directory of the environment to the `PATH` variable, so you can use the tools installed in the environment directly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters