VS Code extension that integrates Pixi environments with the Python Environments extension.
This extension implements the EnvironmentManager and PackageManager interfaces for the Python Environments
extension, allowing Pixi environments to appear alongside
conda, venv, and other Python environments in VS Code.
- Automatic discovery of Python environments created with Pixi
- Automatic interpreter selection when running and debugging Python code
- Respect
defaultInterpreterPathif no Pixi environment was manually selected - Support for Pixi features (dev, test, lint, etc.) as separate selectable environments
- Terminal activation
- Persistent environment selection per project
- Package discovery
- Pixi installed on your system
- Python Environments extension (
ms-python.vscode-python-envs)
- Install Pixi on your system
- Install this extension from the VS Code Marketplace
- Open a project with a
pixi.tomlorpyproject.tomlfile
The extension will automatically discover Pixi environments and register them with the Python Environments system.
pixi-code.pixiExecutable: Path to the Pixi executable (default: pixi). If empty, autodiscovery will be used.
- Environment creation and deletion
- Adding, updating and removing packages
These operations are intentionally not supported as Pixi's declarative manifest approach works best through direct CLI
interaction or editing of the pixi.toml or pyproject.toml files directly.
Check the "Pixi Environment Manager" output channel:
- View → Output
- Select "Pixi Environment Manager" from dropdown
Pixi executable not found
- Ensure Pixi is installed and in PATH
- Set
pixi-code.pixiExecutablesetting if needed
No environments discovered
- Verify
pixi.tomlorpyproject.tomlexists in project root - Run
pixi installto ensure environments are set up
MIT