A proto WASM plugin for managing Claude Code installations.
Add to .prototools:
[plugins]
claude-code = "github://BarretoTech/proto-claude-code-plugin"Or with a pinned plugin version:
[plugins]
claude-code = "github://BarretoTech/proto-claude-code-plugin@v0.1.0"Install the latest version:
proto install claude-codeInstall a specific version:
proto install claude-code 2.1.62List available versions:
proto versions claude-codePin a version:
proto pin claude-code 2.1.62After installation, the claude command is available:
claude --version
claude --helpCustom distribution URL can be set in .prototools:
[tools.claude-code]
dist-url = "https://your-mirror.example.com/claude-code-releases"| Platform | Architecture |
|---|---|
| macOS | arm64, x64 |
| Linux (glibc) | arm64, x64 |
| Linux (musl) | arm64, x64 |
| Windows | x64, arm64 |
Setup toolchain:
proto install rust
rustup target add wasm32-wasip1Build the plugin:
cargo build --target wasm32-wasip1Test locally with proto:
# .prototools
[plugins]
claude-code = "file://./target/wasm32-wasip1/debug/claude_code_plugin.wasm"proto --log trace install claude-codeMIT