pixi workspace platform edit#
Edit an existing workspace platform's subdir and/or virtual packages
Usage#
Arguments#
-
<NAME>- Name of the platform to edit
required:true
-
- <a id="arg-<__NAME[=VERSION[=BUILD]]>" href="#arg-<__NAME[=VERSION[=BUILD]]>">
<__NAME[=VERSION[=BUILD]]> - Raw virtual-package specs (
__name[=version[=build_string]]) to declare or update on this platform. Use the friendly flags (--cuda,--archspec, ...) for virtual packages that have one; this trailing positional list is the escape hatch for everything else, mirroring the__name = "..."raw keys accepted in pixi.toml
May be provided more than once.
- <a id="arg-<__NAME[=VERSION[=BUILD]]>" href="#arg-<__NAME[=VERSION[=BUILD]]>">
Options#
-
--subdir <SUBDIR>- Set a new conda subdir for this platform
-
--cuda <VERSION>- Declare a
__cudavirtual package at the given version, e.g.12.0. Valid on any subdir
-
--cuda-arch <VERSION>- Declare a
__cuda_archvirtual package (GPU compute capability) at the given version, e.g.8.6. Requires--cuda(or an existing__cuda), matching the conda CEP coupling. Serialized ascuda = { driver, arch }
-
--archspec <ARCH>- Declare a
__archspecvirtual package with the given microarchitecture string, e.g.x86-64-v3. Valid on any subdir
-
--glibc <VERSION>- Declare a
__glibcvirtual package at the given version, e.g.2.28. Only valid on linux subdirs
-
--linux <VERSION>- Declare a
__linuxvirtual package at the given kernel version, e.g.5.10. Only valid on linux subdirs
-
--macos <VERSION>- Declare a
__osxvirtual package at the given macOS version, e.g.14.0. Only valid on osx subdirs
aliases: osx
-
--windows <VERSION>- Declare a
__winvirtual package at the given Windows version, e.g.10. Only valid on win subdirs
-
--remove-virtual-package <NAME>- Remove the named virtual package from this platform. Can be repeated
May be provided more than once.
-
--clear-virtual-packages- Clear all virtual packages before applying any add/upsert operations
-
--no-install- Don't update the environment, only refresh the lock-file
env:PIXI_NO_INSTALL