mise is a polyglot tool version manager. Install aipm from GitHub releases:
# Install using ubi backend
mise use -g ubi:TrogonStack/aipm
# Verify installation
aipm --versionNote: Requires mise >= 2024.1.0 with ubi backend support.
mise use -g ubi:TrogonStack/aipm@0.4.0mise upgrade aipmDownload pre-built executables from the releases page.
# Apple Silicon
curl -fsSL https://github.com/TrogonStack/aipm/releases/latest/download/aipm-darwin-arm64 -o aipm
chmod +x aipm
sudo mv aipm /usr/local/bin/
# Intel
curl -fsSL https://github.com/TrogonStack/aipm/releases/latest/download/aipm-darwin-x64 -o aipm
chmod +x aipm
sudo mv aipm /usr/local/bin/
# Verify installation
aipm --version# x64
curl -fsSL https://github.com/TrogonStack/aipm/releases/latest/download/aipm-linux-x64 -o aipm
chmod +x aipm
sudo mv aipm /usr/local/bin/
# ARM64
curl -fsSL https://github.com/TrogonStack/aipm/releases/latest/download/aipm-linux-arm64 -o aipm
chmod +x aipm
sudo mv aipm /usr/local/bin/
# Verify installation
aipm --versionDownload the latest aipm.exe from the releases page.
- Download
aipm-windows-x64.exe - Rename to
aipm.exe - Move to a directory in your PATH
- Verify:
aipm --version
- Bun >= 1.2.0
- Git
# Clone the repository
git clone https://github.com/TrogonStack/aipm.git
cd aipm
# Install dependencies
bun install
# Build executable for your platform
bun run build
# Install to system path (macOS/Linux)
sudo cp dist/aipm /usr/local/bin/
# Or create a symlink
sudo ln -s "$(pwd)/dist/aipm" /usr/local/bin/aipm
# Verify installation
aipm --versionFor contributing or local development:
# Clone and install
git clone https://github.com/TrogonStack/aipm.git
cd aipm
bun install
# Run directly without building
bun run src/cli.ts {command}
# Or use watch mode
bun run devAfter installation, verify it works:
# Check version
aipm --version
# View help
aipm --help
# Initialize a project
cd your-project
aipm initIssue: aipm: command not found
Solutions:
- Ensure the binary is in a directory in your PATH
- Use full path:
/usr/local/bin/aipm - Add custom directory to PATH:
export PATH="$PATH:/path/to/aipm"
Issue: Permission denied when running the binary
Solution:
chmod +x /path/to/aipmIssue: macOS blocks unsigned binary
Solution:
# Remove quarantine attribute
xattr -d com.apple.quarantine /path/to/aipm
# Or allow in System Settings > Security & PrivacyDownload the latest release and replace the old binary:
# Download new version (example for macOS Apple Silicon)
curl -fsSL https://github.com/TrogonStack/aipm/releases/latest/download/aipm-darwin-arm64 -o aipm
chmod +x aipm
sudo mv aipm /usr/local/bin/cd aipm
git pull
bun install
bun run build
sudo cp dist/aipm-*/bin/aipm /usr/local/bin/# Remove the binary
sudo rm /usr/local/bin/aipm
# Clean up config (optional)
# Linux/macOS
rm -rf ~/.config/aipm
rm -rf ~/.cache/aipm
rm -rf .aipm # In project directories
# Windows
rmdir /s /q "%APPDATA%\aipm"
rmdir /s /q "%LOCALAPPDATA%\aipm"
rmdir /s /q .aipmAfter installation, see the README.md for usage instructions.