Skip to main content
Pixi can build packages from source in addition to managing workflows and environments. This enables you to:
  • Build and upload packages to conda channels
  • Allow users to depend directly on source code that builds automatically
  • Manage multiple packages in a workspace
  • Create cross-language projects with unified tooling
The pixi-build feature is currently in preview and has some limitations:
  1. Limited set of build backends
  2. Build backends may be missing some parameters/features
  3. Recursive source dependencies are not yet supported
  4. Workspace dependencies cannot be inherited

Quick Start

Here’s a complete example of a buildable Python package:
pixi.toml

Understanding the Manifest Structure

CLI Commands

Once configured, you can use these commands:
  • pixi build creates a .conda file from your package
  • Commands like pixi install and pixi run automatically build packages when a path, git, or url dependency is present

Complete Example Structure

Here’s what a complete project looks like:

Next Steps

Python Packages

Build Python packages with pixi-build-python

C++ Packages

Build C++ packages with CMake

Workspaces

Manage multiple packages together

Build Backends

Explore available build backends

Troubleshooting

Make sure you’ve enabled the preview feature and specified the correct backend channels:
Check that:
  1. All dependencies are available in your specified channels
  2. Platform specifications match your target platforms
  3. Version constraints are compatible
Recipes are stored in .pixi/build/work/<package-name>--<hash>/debug/recipe/You can rebuild using: