Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): update env variables in installation docs #1937

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,19 +149,19 @@ its [compile steps](https://github.com/mamba-org/rattler/tree/main#give-it-a-try

| Variable | Description | Default Value |
|----------------------|------------------------------------------------------------------------------------|-----------------------|
| `VERSION` | The version of pixi getting installed, can be used to up- or down-grade. | `latest` |
| `PIXI_VERSION` | The version of pixi getting installed, can be used to up- or down-grade. | `latest` |
| `PIXI_HOME` | The location of the binary folder. | `$HOME/.pixi` |
| `PIXI_ARCH` | The architecture the pixi version was built for. | `uname -m` |
| `PIXI_NO_PATH_UPDATE`| If set the `$PATH` will not be updated to add `pixi` to it. | |
| `TMP_DIR` | The temporary directory the script uses to download to and unpack the binary from. | `/tmp` |

For example, on Apple Silicon, you can force the installation of the x86 version:
```shell
PIXI_ARCH=x86_64 curl -fsSL https://pixi.sh/install.sh | bash
curl -fsSL https://pixi.sh/install.sh | PIXI_ARCH=x86_64 bash
```
Or set the version
```shell
PIXI_VERSION=v0.18.0 curl -fsSL https://pixi.sh/install.sh | bash
curl -fsSL https://pixi.sh/install.sh | PIXI_VERSION=v0.18.0 bash
```

=== "Windows"
Expand Down
Loading