Back to Pixi

pixi workspace platform add

docs/reference/cli/pixi/workspace/platform/add.md

0.72.12.4 KB
Original Source
<!--- This file is autogenerated. Do not edit manually! -->

pixi workspace platform add

Adds a platform(s) to the workspace file and updates the lock file

--8<-- "docs/reference/cli/pixi/workspace/platform/add_extender:description"

Usage

pixi workspace platform add [OPTIONS] <PLATFORM|NAME=PLATFORM|__NAME[=VERSION[=BUILD]]>...

Arguments

  • <a id="arg-<PLATFORM|NAME=PLATFORM|__NAME[=VERSION[=BUILD]]>" href="#arg-<PLATFORM|NAME=PLATFORM|__NAME[=VERSION[=BUILD]]>"><PLATFORM|NAME=PLATFORM|__NAME[=VERSION[=BUILD]]></a> : Platforms to add, optionally followed by raw virtual-package specs

May be provided more than once.

required: true

Options

  • <a id="arg---cuda" href="#arg---cuda">--cuda <VERSION></a> : Declare a __cuda virtual package at the given version, e.g. 12.0. Valid on any subdir
  • <a id="arg---cuda-arch" href="#arg---cuda-arch">--cuda-arch <VERSION></a> : Declare a __cuda_arch virtual package (GPU compute capability) at the given version, e.g. 8.6. Requires --cuda (or an existing __cuda), matching the conda CEP coupling. Serialized as cuda = { driver, arch }
  • <a id="arg---archspec" href="#arg---archspec">--archspec <ARCH></a> : Declare a __archspec virtual package with the given microarchitecture string, e.g. x86-64-v3. Valid on any subdir
  • <a id="arg---glibc" href="#arg---glibc">--glibc <VERSION></a> : Declare a __glibc virtual package at the given version, e.g. 2.28. Only valid on linux subdirs
  • <a id="arg---linux" href="#arg---linux">--linux <VERSION></a> : Declare a __linux virtual package at the given kernel version, e.g. 5.10. Only valid on linux subdirs
  • <a id="arg---macos" href="#arg---macos">--macos <VERSION></a> : Declare a __osx virtual package at the given macOS version, e.g. 14.0. Only valid on osx subdirs

aliases: osx

  • <a id="arg---windows" href="#arg---windows">--windows <VERSION></a> : Declare a __win virtual package at the given Windows version, e.g. 10. Only valid on win subdirs
  • <a id="arg---no-install" href="#arg---no-install">--no-install</a> : Don't update the environment, only add changed packages to the lock file

env: PIXI_NO_INSTALL

  • <a id="arg---feature" href="#arg---feature">--feature (-f) <FEATURE></a> : The name of the feature to add the platform to

--8<-- "docs/reference/cli/pixi/workspace/platform/add_extender:example"