Skip to content

Common recipes

Run these examples from the Pyahu Toolchain checkout. Replace the profile list with the one that fits your work.

Install only rg, fd, jq, and yq:

Terminal window
./install.sh
MISE_ENV='' mise install

This is a useful baseline for CI runners and small server environments.

For a Python workstation:

Terminal window
./install.sh workstation python
export MISE_ENV=workstation,python
mise install

Replace python with java, go, or node. You can list more than one for polyglot work.

Combine the terminal tools, your service language, and the cloud profile:

Terminal window
./install.sh workstation go cloud
export MISE_ENV=workstation,go,cloud
mise install

Docker is required only when you use local clusters or image-building commands. Cloud credentials and Kubernetes contexts remain your responsibility.

Install the rolling AI profile with Node support for Kimi and Pi:

Terminal window
./install.sh node ai
export MISE_ENV=node,ai
mise install

AI tools resolve recent versions and are not covered by stable lockfiles. Review their own privacy, authentication, and billing settings before use.

Copy the base config and lock from one release tag:

Terminal window
PYAHU_TOOLCHAIN_VERSION=v1.0.1
PYAHU_TOOLCHAIN_RAW="https://raw.githubusercontent.com/pyahu/toolchain/$PYAHU_TOOLCHAIN_VERSION"
curl -fsSL -o mise.toml "$PYAHU_TOOLCHAIN_RAW/mise.toml"
curl -fsSL -o mise.lock "$PYAHU_TOOLCHAIN_RAW/mise.lock"
mise install --locked

Commit both files so collaborators and CI use the same input.

Put machine-specific tools in config.local.toml inside your mise config directory, usually ~/.config/mise/config.local.toml. The installer never writes that file. This keeps personal tools out of the shared catalog and avoids a local fork.

Terminal window
mise config
mise ls --current
mise exec -- rg --version

If the result is unexpected, see Troubleshooting.