← 返回命令列表

Linux command

pixi-project 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Add a platform

pixi project platform add [platform]

List configured platforms

pixi project platform list

Add a channel

pixi project channel add [channel]

Bump project version

pixi project version bump [major|minor|patch]

Set project description

pixi project description set "[description]"

Export environment to conda-env YAML

pixi project export conda-environment [path/to/env.yml]

说明

pixi project manages Pixi project configuration stored in pixi.toml (or the `tool.pixi` section of pyproject.toml). Subcommands configure channels, supported platforms, environments, the project name/description/version, and can export the manifest to conda-compatible formats. Use pixi init to create a new project; pixi project operates on an existing manifest within the current working directory.

参数

channel _cmd_
Manage project channels (add, list, remove).
platform _cmd_
Manage supported platforms (add, list, remove).
description _cmd_
Get or set the project description.
environment _cmd_
Manage pixi environments (add, list, remove).
export _cmd_
Export the project to other formats (conda-environment, conda-explicit-spec).
name _cmd_
Get or set the project name.
version _cmd_
Manage project version (get, set, bump, major, minor, patch).

FAQ

What is the pixi-project command used for?

pixi project manages Pixi project configuration stored in pixi.toml (or the `tool.pixi` section of pyproject.toml). Subcommands configure channels, supported platforms, environments, the project name/description/version, and can export the manifest to conda-compatible formats. Use pixi init to create a new project; pixi project operates on an existing manifest within the current working directory.

How do I run a basic pixi-project example?

Run `pixi project platform add [platform]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does channel _cmd_ do in pixi-project?

Manage project channels (add, list, remove).