pixi global add
#
About#
Adds dependencies to an environment
Usage#
Arguments#
-
<PACKAGE>
- Specifies the package that should be added to the environment
May be provided more than once.
required:true
Options#
-
--environment (-e) <ENVIRONMENT>
- Specifies the environment that the dependencies need to be added to
required:true
-
--expose <EXPOSE>
- Add one or more mapping which describe which executables are exposed. The syntax is
exposed_name=executable_name
, so for examplepython3.10=python
. Alternatively, you can input only an executable_name andexecutable_name=executable_name
is assumed
May be provided more than once.
Config Options#
-
--tls-no-verify
- Do not verify the TLS certificate of the server
-
--auth-file <AUTH_FILE>
- Path to the file containing the authentication token
-
--pypi-keyring-provider <PYPI_KEYRING_PROVIDER>
- Specifies whether to use the keyring to look up credentials for PyPI
options:disabled
,subprocess
-
--concurrent-solves <CONCURRENT_SOLVES>
- Max concurrent solves, default is the number of CPUs
-
--concurrent-downloads <CONCURRENT_DOWNLOADS>
- Max concurrent network requests, default is
50
Description#
Adds dependencies to an environment
Example:
pixi global add --environment python numpy
pixi global add --environment my_env pytest pytest-cov --expose pytest=pytest