Mise Plugins
Status: Optional
The 50-mise-plugins.sh script installs mise and registers local plugins for AI CLI tools. This enables reproducible, version-pinned tool management across machines.
Managed Tools
| Plugin | Tool | Distribution |
|---|---|---|
ollama | Ollama | Binary from GitHub releases |
claude-code | Claude Code | Native binary from release channel |
droid-factory | Droid (Factory AI) | Platform binary from Factory CDN |
Features
- Installs mise via pacman if not already present
- Registers all local plugins from
mise-plugins/ - Installs latest versions of each tool via mise
- Cross-platform architecture detection (x86_64/aarch64, Linux/macOS)
- WSL browser auth detection with
xdg-utilshint - Supports
--dry-runfor safe previewing
Running
bash
bash workstation/50-mise-plugins.sh # Install mise + all AI tools
bash workstation/50-mise-plugins.sh --dry-run # Preview without changesArchitecture Detection
Each plugin detects your platform and CPU architecture automatically:
| Plugin | Linux x86_64 | Linux aarch64 | macOS |
|---|---|---|---|
| ollama | ollama-linux-amd64.tgz | ollama-linux-arm64.tgz | Ollama-darwin.zip |
| claude-code | claude-linux-x64-*.tar.gz | claude-linux-arm64-*.tar.gz | claude-darwin-* |
| droid-factory | droid (linux) | droid (linux) | droid (macos) |
WSL Users
When running under WSL, the script detects Microsoft's kernel and reminds you to install browser auth prerequisites:
bash
sudo pacman -S --needed xdg-utils
# For WSL browser forwarding, also install wslu from AURSet BROWSER=wslview in your shell profile so Claude Code and Droid can open your Windows browser for OAuth flows.
Adding More Plugins
Create a directory under mise-plugins/ with the standard structure:
mise-plugins/<tool>/bin/
├── list-all # Output space-separated versions (oldest first)
├── download # Download archive to $ASDF_DOWNLOAD_PATH
└── install # Extract to $ASDF_INSTALL_PATH/bin/Then add a register_and_install <tool> call in workstation/50-mise-plugins.sh.
Source
View the full source on GitHub.