pixi global expose add
#
About#
Add exposed binaries from an environment to your global environment
Usage#
Arguments#
-
<MAPPING>
- Add 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.
Options#
-
--environment (-e) <ENVIRONMENT>
- The environment to which the binaries should be exposed
required:true
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#
Add exposed binaries from an environment to your global environment
Example:
pixi global expose add python310=python3.10 python3=python3 --environment myenv
pixi global add --environment my_env pytest pytest-cov --expose pytest=pytest