Skip to content

Commit

Permalink
fix(docs): update env variables in installation docs (#1937)
Browse files Browse the repository at this point in the history
  • Loading branch information
lev112 authored Aug 29, 2024
1 parent 5add56a commit 220de8b
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 220de8b

Please sign in to comment.