← 返回命令列表

Linux command

pixi-global 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Install package globally

pixi global install [package]

List globally installed packages

pixi global list

Remove global package

pixi global remove [package]

Update all global environments

pixi global update

Update a specific

pixi global update [package]

Sync

pixi global sync

Edit

pixi global edit

说明

pixi global manages globally installed packages. Installs command-line tools accessible from anywhere, similar to pipx for Python. Packages are isolated in their own environments.

参数

install _package_
Install a package in a globally accessible location and expose its executables.
uninstall _environment_
Uninstall a global environment.
list
List global environments with their dependencies and exposed commands.
add _package_
Add dependencies to a global environment.
remove _package_
Remove dependencies from a global environment.
update _environment..._
Update global environments. Without arguments, updates all environments.
sync
Synchronize the global manifest with installed environments.
edit
Open the global manifest file in your editor.
expose
Manage exposure of binaries in global environments.
shortcut
Manage shortcuts on your machine for global environments.
tree
Show a dependency tree for a specific global environment.

FAQ

What is the pixi-global command used for?

pixi global manages globally installed packages. Installs command-line tools accessible from anywhere, similar to pipx for Python. Packages are isolated in their own environments.

How do I run a basic pixi-global example?

Run `pixi global install [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does install _package_ do in pixi-global?

Install a package in a globally accessible location and expose its executables.