Complete installation instructions for all platforms.
Prerequisite: Install Git first
Before running the installation script, make sure Git is installed:
# macOS (using Homebrew)
brew install git
# Ubuntu/Debian
sudo apt update
sudo apt install git
# Fedora
sudo dnf install git
# Arch Linux
sudo pacman -S git
# Verify Git installation
git --versionInstall Walgo:
curl -fsSL https://raw.githubusercontent.com/ganbitlabs/walgo/main/install.sh | bashPrerequisite: Install Git first
# Using Chocolatey (recommended)
choco install git
# Or using Scoop
scoop install git
# Or download from https://git-scm.com/download/win
# Verify Git installation
git --versionInstall Walgo:
irm https://raw.githubusercontent.com/ganbitlabs/walgo/main/install.ps1 | iexOr visit the Installation Guide for manual installation methods.
This script will:
- Detect your OS and architecture
- Download the latest release
- Install to
/usr/local/bin(or~/.local/binif not root) - Verify installation
- Check for dependencies
Visit the releases page and download the appropriate binary for your platform:
- Linux (x64):
walgo_VERSION_linux_amd64.tar.gz - Linux (ARM64):
walgo_VERSION_linux_arm64.tar.gz - macOS (Intel):
walgo_VERSION_darwin_amd64.tar.gz - macOS (Apple Silicon):
walgo_VERSION_darwin_arm64.tar.gz - Windows (x64):
walgo_VERSION_windows_amd64.zip
Extract and install:
# Extract
tar -xzf walgo_*.tar.gz # Linux/macOS
# or unzip walgo_*.zip # Windows
# Install
sudo mv walgo /usr/local/bin/ # Linux/macOS
# or add to PATH on Windows
# Verify
walgo --version# Add the tap
brew tap ganbitlabs/tap
# Install walgo
brew install walgo
# Verify
walgo --versionIf you have Go 1.22+ installed:
go install github.com/ganbitlabs/walgo@latest
# Verify
walgo --version# Pull the image
docker pull ghcr.io/ganbitlabs/walgo:latest
# Run walgo
docker run --rm ghcr.io/ganbitlabs/walgo:latest --help
# Work with local files
docker run --rm -v $(pwd):/workspace -w /workspace \
ghcr.io/ganbitlabs/walgo:latest init my-site
# Create an alias for convenience
alias walgo='docker run --rm -v $(pwd):/workspace -w /workspace ghcr.io/ganbitlabs/walgo:latest'snap install walgoRequirements:
- Go 1.22 or later
- Git
# Clone repository
git clone https://github.com/ganbitlabs/walgo.git
cd walgo
# Build
go build -o walgo main.go
# Install globally
sudo mv walgo /usr/local/bin/
# Verify
walgo --versionWalgo requires additional tools for full functionality:
walgo setup-deps --with-site-builder --with-walrus --network testnetThis installs:
site-builder- For on-chain deploymentswalrus- Walrus CLI tool- Places binaries in
~/.config/walgo/bin - Updates configuration automatically
Git is required for installation and some features.
macOS (Homebrew):
# If Homebrew is not installed, install it first:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Then install Git
brew install gitLinux (Ubuntu/Debian):
sudo apt update
sudo apt install gitLinux (Fedora):
sudo dnf install gitLinux (Arch):
sudo pacman -S gitWindows (Chocolatey):
# If Chocolatey is not installed, run this as Administrator:
Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# Then install Git
choco install gitWindows (Scoop):
# If Scoop is not installed:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
# Then install Git
scoop install gitOther platforms: Visit Git Downloads
Hugo is required for static site generation.
macOS (Homebrew):
# Install Homebrew if needed (see Git section above)
brew install hugo
# Verify it's the extended version
hugo versionLinux (Ubuntu/Debian):
sudo apt update
sudo apt install hugoLinux (Fedora):
sudo dnf install hugoLinux (Arch):
sudo pacman -S hugoWindows (Chocolatey):
# Install Chocolatey if needed (see Git section above)
choco install hugo-extendedWindows (Scoop):
# Install Scoop if needed (see Git section above)
scoop install hugo-extendedOther platforms: Visit Hugo Installation Guide
macOS Apple Silicon:
curl -L https://storage.googleapis.com/mysten-walrus-binaries/site-builder-testnet-latest-macos-arm64 -o site-builder
chmod +x site-builder
sudo mv site-builder /usr/local/bin/macOS Intel:
curl -L https://storage.googleapis.com/mysten-walrus-binaries/site-builder-testnet-latest-macos-x86_64 -o site-builder
chmod +x site-builder
sudo mv site-builder /usr/local/bin/Linux:
curl -L https://storage.googleapis.com/mysten-walrus-binaries/site-builder-testnet-latest-ubuntu-x86_64 -o site-builder
chmod +x site-builder
sudo mv site-builder /usr/local/bin/Windows: Download from: https://storage.googleapis.com/mysten-walrus-binaries/ Add to PATH environment variable.
Follow the same process as site-builder, replacing site-builder with walrus in the URLs.
Follow the official guide: https://docs.sui.io/guides/developer/getting-started/sui-install
Run diagnostics to check your environment:
walgo doctorThis will check:
- ✓ Required binaries (hugo, site-builder, walrus, sui)
- ✓ Sui wallet configuration
- ✓ Gas balance
- ✓ Configuration files
- ✓ Common issues
Auto-fix detected issues:
walgo doctor --fix-allNo additional setup needed! You can deploy immediately:
walgo init my-site
cd my-site
walgo build
walgo deploy-http \
--publisher https://publisher.walrus-testnet.walrus.space \
--aggregator https://aggregator.walrus-testnet.walrus.space \
--epochs 1- Setup Walrus configuration:
walgo setup --network testnet --force- Fix configuration paths:
walgo doctor --fix-paths- Configure Sui wallet:
sui client-
Get testnet SUI tokens: Visit: https://faucet.sui.io/ or join Discord
-
Verify setup:
walgo doctor- Deploy:
walgo deploy --epochs 5Add the installation directory to your PATH:
# Add to ~/.bashrc or ~/.zshrc
export PATH="$PATH:/usr/local/bin"
# Or if installed to user directory
export PATH="$PATH:$HOME/.local/bin"
# Reload shell
source ~/.bashrc # or source ~/.zshrcEither:
- Use sudo:
sudo mv walgo /usr/local/bin/ - Install to user directory:
mv walgo ~/.local/bin/ - Run the install script without sudo:
USE_SUDO=false ./install.sh
Install Hugo using your package manager or download from: https://gohugo.io/installation/
Run the automated installer:
walgo setup-deps --with-site-builderOr install manually following the instructions above.
curl -fsSL https://raw.githubusercontent.com/ganbitlabs/walgo/main/install.sh | bashbrew upgrade walgogo install github.com/ganbitlabs/walgo@latestwalgo version --check-updatessudo rm /usr/local/bin/walgo
# or
rm ~/.local/bin/walgorm -rf ~/.config/walgo
rm -f ~/.walgo.yamlbrew uninstall walgo
brew untap ganbitlabs/tap- Documentation: https://github.com/ganbitlabs/walgo
- Issues: https://github.com/ganbitlabs/walgo/issues
- Run diagnostics:
walgo doctor - Command help:
walgo --helporwalgo <command> --help
After installation:
- Run diagnostics:
walgo doctor - Create your first site:
walgo init my-site - Build and deploy: See README.md for deployment options
Happy shipping! 🚀