pixi global add
#
About#
Adds dependencies to an environment
Usage#
Arguments#
-
<PACKAGE>
- The dependency as names, conda MatchSpecs
May be provided more than once.
Options#
-
--path <PATH>
- The path to the local directory
-
--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#
-
--auth-file <AUTH_FILE>
- Path to the file containing the authentication token
-
--concurrent-downloads <CONCURRENT_DOWNLOADS>
- Max concurrent network requests, default is
50
-
--concurrent-solves <CONCURRENT_SOLVES>
- Max concurrent solves, default is the number of CPUs
-
--pinning-strategy <PINNING_STRATEGY>
- Set pinning strategy
options:semver
,minor
,major
,latest-up
,exact-version
,no-pin
-
--pypi-keyring-provider <PYPI_KEYRING_PROVIDER>
- Specifies whether to use the keyring to look up credentials for PyPI
options:disabled
,subprocess
-
--run-post-link-scripts
- Run post-link scripts (insecure)
-
--tls-no-verify
- Do not verify the TLS certificate of the server
-
--use-environment-activation-cache
- Use environment activation cache (experimental)
Git Options#
-
--git <GIT>
- The git url, e.g.
https://github.com/user/repo.git
-
--branch <BRANCH>
- The git branch
-
--tag <TAG>
- The git tag
-
--rev <REV>
- The git revision
-
--subdir <SUBDIR>
- The subdirectory within the git repository
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