This is the official Homebrew tap for AGB Cloud, providing a convenient way to install the AGB command-line tool.
# 1. Add AGB Cloud's Homebrew tap
brew tap agbcloud/agb
# 2. Install agb command-line tool
brew install agb
# 3. Verify installation
agb versionAfter installation, you can use the following commands:
# Check version information
agb version
# View help information
agb --help
# Use AGB commands
agb [command] [options]# Update Homebrew and all packages
brew update && brew upgrade
# Or update only agb
brew upgrade agb# Uninstall agb
brew uninstall agb
# Remove tap (optional)
brew untap agbcloud/agb- Project Homepage: https://github.com/agbcloud/agbcloud-cli
- Current Version: v0.1.0
- License: MIT
- Description: Secure infrastructure for running AI-generated code
-
Installation Failed
# Update Homebrew brew update # Clean cache brew cleanup # Reinstall brew reinstall agb
-
Network Issues (Especially for Chinese Users)
The Formula has been configured with Chinese mirror sources. If you still have issues:
# Set Go proxy export GOPROXY=https://goproxy.cn,direct export GOSUMDB=sum.golang.google.cn # Reinstall brew reinstall agb
-
Permission Issues
# Fix Homebrew permissions sudo chown -R $(whoami) $(brew --prefix)/*
If you want to test or develop locally:
# Clone repository
git clone https://github.com/agbcloud/homebrew-agb.git
cd homebrew-agb
# Local installation test
brew install --build-from-source ./Formula/agb.rb
# Test functionality
agb version
agb --help
# Uninstall test version
brew uninstall agbFormula/agb.rb contains:
- Build Dependencies: Go language environment
- Network Optimization: Configured with Chinese mirror sources to improve download speed
- Version Information: Automatically injects version number, Git commit, and build time
- Test Cases: Validates installation and basic functionality
If you encounter issues:
- Check Issues
- Create a new Issue to report problems
- View AGB CLI Project