v0.33.0rc1
Pre-release
Pre-release
github-actions
released this
11 Oct 07:41
·
242 commits
to main
since this release
Installation:
pixi self-update --version 0.33.0rc1
# OR
curl -fsSL https://pixi.sh/install.sh | PIXI_VERSION=v0.33.0rc1 bash
✨ Highlights
This is a release candidate for the new pixi global
implementation. It's a full reimplementation of pixi global
where it now uses a manifest file just like pixi
projects. This way you can declare your environments and save them to a VCS.
It also brings features like, adding dependencies to a global environment, and exposing multiple binaries from the same environment that are not part of the main installed packages.
Test it out with:
# Normal feature
pixi global install ipython
# New features
pixi global install \
--environment science \ # Defined the environment name
--expose scipython=ipython \ # Expose binaries under custom names
ipython scipy # Define multiple dependencies for one environment
This should result in a manifest in $HOME/.pixi/manifests/pixi-global.toml
:
version = 1
[envs.ipython]
channels = ["conda-forge"]
dependencies = { ipython = "*" }
exposed = { ipython = "ipython", ipython3 = "ipython3" }
[envs.science]
channels = ["conda-forge"]
dependencies = { ipython = "*", scipy = "*" }
exposed = { scipython = "ipython" }
📖 Documentation
Checkout the updated documentation on this new feature:
- Main documentation on this tag: https://pixi.sh/v0.33.0rc1/
- Global CLI documentation: https://pixi.sh/v0.33.0rc1/reference/cli/#global
- The implementation documentation: https://pixi.sh/v0.33.0rc1/features/global_tools/
- The initial design proposal: https://pixi.sh/v0.33.0rc1/design_proposals/pixi_global_manifest/