Installation
Pogo can be installed through various package managers or built from source. Choose the method that works best for your platform.
Package Managers
Section titled “Package Managers”The easiest cross-platform installation method, but the Node.js wrapper might make it slightly slower. Not recommended for older machines.
npm install -g @pogo-vcs/pogoHomebrew (macOS and Linux)
Section titled “Homebrew (macOS and Linux)”brew install --cask pogo-vcs/tap/pogoScoop (Windows)
Section titled “Scoop (Windows)”scoop bucket add pogo-vcs https://github.com/pogo-vcs/scoop-bucket.gitscoop install pogoBuilding from Source
Section titled “Building from Source”If you prefer to build Pogo from source or need the latest development version:
Prerequisites
Section titled “Prerequisites”Before building, ensure you have:
Build Steps
Section titled “Build Steps”- Clone the repository:
Terminal window git clone https://github.com/pogo-vcs/pogo.gitcd pogo - Build the binary:
Terminal window just build - The
pogobinary will be created in the current directory. Move it to yourPATH.
Shell Completion
Section titled “Shell Completion”Pogo supports shell completion for better command-line experience.
# Load completion for current sessionsource <(pogo completion bash)
# Linux - permanent installationpogo completion bash > /etc/bash_completion.d/pogo
# macOS - permanent installationpogo completion bash > $(brew --prefix)/etc/bash_completion.d/pogo# Load completion for current sessionsource <(pogo completion zsh)
# Permanent installationpogo completion zsh > "${fpath[1]}/_pogo"# Load completion for current sessionpogo completion fish | source
# Permanent installationpogo completion fish > ~/.config/fish/completions/pogo.fishPowerShell
Section titled “PowerShell”# Load completion for current sessionpogo completion powershell | Out-String | Invoke-Expression
# Add to your PowerShell profile for permanent installationVerification
Section titled “Verification”After installation, verify that Pogo is working correctly:
# Check versionpogo --version
# View helppogo --help
# Test server connectivity (if you have access to a server)pogo init --name test-repo --server your-server:8080Updating
Section titled “Updating”npm update -g @pogo-vcs/pogoHomebrew
Section titled “Homebrew”brew upgrade pogoscoop update pogoFrom Source
Section titled “From Source”cd pogogit pulljust build# update the binary in your PATHUninstallation
Section titled “Uninstallation”npm uninstall -g @pogo-vcs/pogoHomebrew
Section titled “Homebrew”brew uninstall pogoscoop uninstall pogoTroubleshooting
Section titled “Troubleshooting”Command Not Found
Section titled “Command Not Found”If pogo is not found after installation:
-
Restart your terminal or reload your shell configuration
-
Check if it’s in your PATH:
Terminal window which pogo # Linux/macOSwhere pogo # Windows -
For NPM installations, ensure global npm bin is in PATH:
Terminal window npm bin -g
Permission Errors
Section titled “Permission Errors”If you encounter permission errors during NPM installation:
# Use a Node version manager instead of sudo# Or configure npm to use a different directorynpm config set prefix ~/.npm-globalexport PATH=~/.npm-global/bin:$PATHBuild Errors
Section titled “Build Errors”When building from source:
- Ensure all prerequisites are installed
- Check Go version:
go version(needs 1.25+) - Run
go mod tidyto install Go dependencies - Check the GitHub issues for known problems
Next Steps
Section titled “Next Steps”- Follow the Getting Started guide
- Set up a Pogo server
- Learn about authentication