- Add build-polyglot.js to create shell/HTML polyglot file - curl hanzo.sh | bash now runs installer directly - Add shortcut installers: - /dev - AI coding agent bundle - /mcp - MCP server only - /cli - CLI only - /python - Python bundle - /rust - Rust bundle - /full - Everything - /node - Hanzo Node binary - /agents - Multi-agent framework
15 lines
360 B
Bash
15 lines
360 B
Bash
#!/bin/bash
|
|
# Hanzo CLI Installer
|
|
# Usage: curl -fsSL hanzo.sh/cli | bash
|
|
set -e
|
|
echo "Installing Hanzo CLI..."
|
|
if command -v uv >/dev/null 2>&1; then
|
|
uv tool install hanzo
|
|
else
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
uv tool install hanzo
|
|
fi
|
|
echo "✓ hanzo CLI installed"
|
|
echo "Run: hanzo --help"
|