Skip to content

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

PluginToolDistribution
ollamaOllamaBinary from GitHub releases
claude-codeClaude CodeNative binary from release channel
droid-factoryDroid (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-utils hint
  • Supports --dry-run for 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 changes

Architecture Detection

Each plugin detects your platform and CPU architecture automatically:

PluginLinux x86_64Linux aarch64macOS
ollamaollama-linux-amd64.tgzollama-linux-arm64.tgzOllama-darwin.zip
claude-codeclaude-linux-x64-*.tar.gzclaude-linux-arm64-*.tar.gzclaude-darwin-*
droid-factorydroid (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 AUR

Set 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.

Verified on Invalid Date · MacBook Air 2020 · CachyOS 6.19.x-cachyos