Skip to content

Install globally with pipx

For advanced users. The Installation guide installs yasp-agent into a per-project virtualenv. As an alternative, pipx installs it into an isolated environment of its own and exposes yasp and yasp-toolkit on your PATH everywhere — no venv to activate.

This assumes you've already minted a registry key and exported it as REGISTRY_KEY.

Install

PIP_EXTRA_INDEX_URL="https://token:${REGISTRY_KEY}@nexus.yasp.ai/repository/pypi-hosted/simple/" \
  pipx install yasp-agent

No pipx yet? sudo apt install pipx (Debian/Ubuntu) or brew install pipx (macOS), then pipx ensurepath and restart your shell.

Then log in and add the products, as in Installation:

yasp-toolkit login
yasp-toolkit install gaia kronos-edge

yasp-toolkit install injects them into the pipx environment, so pipx reinstall keeps them.

As with the venv install, this also exposes ytk as a short alias for yasp-toolkit. Verify:

yasp --help
yasp-toolkit --help

Update & uninstall

Update

yasp-toolkit install -U

A pipx installed with pipx install --global needs -g: yasp-toolkit install -g -U.

Uninstall

pipx uninstall yasp-agent