Skip to content

agbcloud/homebrew-agb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

AGB Cloud Homebrew Tap

This is the official Homebrew tap for AGB Cloud, providing a convenient way to install the AGB command-line tool.

Quick Installation

Install via Tap (Recommended)

# 1. Add AGB Cloud's Homebrew tap
brew tap agbcloud/agb

# 2. Install agb command-line tool
brew install agb

# 3. Verify installation
agb version

Usage

After installation, you can use the following commands:

# Check version information
agb version

# View help information
agb --help

# Use AGB commands
agb [command] [options]

Update and Uninstall

Update to Latest Version

# Update Homebrew and all packages
brew update && brew upgrade

# Or update only agb
brew upgrade agb

Uninstall

# Uninstall agb
brew uninstall agb

# Remove tap (optional)
brew untap agbcloud/agb

Project Information

Troubleshooting

Common Issues

  1. Installation Failed

    # Update Homebrew
    brew update
    
    # Clean cache
    brew cleanup
    
    # Reinstall
    brew reinstall agb
  2. 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
  3. Permission Issues

    # Fix Homebrew permissions
    sudo chown -R $(whoami) $(brew --prefix)/*

Developer Information

Local Testing

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 agb

Formula File Description

Formula/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

Support

If you encounter issues:

Related Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages