Skip to content

v0.80.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Sep 13:38
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
1eab6b1

[0.80.0] - 2026-09-07

✨ Highlights

Pixi now has experimental support for conda-script. Conda scripts let you write scripts in any language, with dependencies and instructions for running them included in the same file.
Pixi solves the environment, caches it, and runs the script without requiring a separate workspace.

For example, an R script can now be self-contained:

# /// conda-script
# channels = ["https://prefix.dev/conda-forge"]
# entrypoint = "Rscript ${SCRIPT}"
#
# [dependencies]
# r-base = "*"
# r-jsonlite = "*"
# /// end-conda-script
library(jsonlite)
writeLines(toJSON(list(hello = "pixi"), auto_unbox = TRUE))

Or compile and run a C++ file with Conda-provided dependencies:

// /// conda-script
// channels = ["https://prefix.dev/conda-forge"]
// entrypoint = "g++ -o ${CACHE}/hello ${SCRIPT} -lfmt && ${CACHE}/hello"
//
// [dependencies]
// gxx = "*"
// fmt = "*"
// /// end-conda-script
#include <fmt/core.h>

int main() {
    fmt::print("Hello from pixi!\n");
}

First enable the experimental configuration with:

pixi config set experimental.conda-script true --global

Then, run them with:

pixi run --script hello.R
pixi run --script hello.cpp

You can also create and manage these scripts with pixi init --script, pixi add --script, pixi remove --script, pixi lock --script, and the other script-aware commands.

Added

  • Add experimental conda-script support by @Hofer-Julian in #6907, #6908, #6909, #6928, #6929, and #6943. This includes the metadata model, cross-platform entrypoint shell, pixi run --script, pixi init --script, dependency editing, and shared tool.pixi support across script formats.

Documentation