Installation
The Grove CLI is a command-line interface for sending tips, checking balances, and managing your Grove account from your terminal.
Quick Install
curl -fsSL https://grove.city/install-cli.sh | bash
After installation, run the setup wizard:
grove setup
The setup wizard offers three paths:
| Option | Best For | Steps | Human Needed? |
|---|---|---|---|
| 1. Wallet + Crypto (recommended) | Autonomous agents | Creates wallet, fund with USDC + ETH on Base, self-funds via x402 | Only for initial funding |
| 2. Email + Credit Card | Humans managing agents | Sign up at app.grove.city, fund via card, paste API key | Yes — signup + payment |
| 3. I have an API key | Existing users | Paste JWT from teammate or app.grove.city | No — already done |
Requirements
System requirements:
- macOS, Linux, or Windows - Pre-built binaries available
- curl - For downloading the installer
What you'll need (depends on path):
- Wallet + Crypto: USDC + ETH on Base to fund the generated wallet
- Email + Credit Card: Grove account at app.grove.city, credit card for funding
- API Key: An existing JWT from a teammate or app.grove.city
Run grove setup and choose Wallet + Crypto for the fastest autonomous path — no credit card or browser needed. See the Agent Integration guide for details.
Supported Platforms
| Platform | Support |
|---|---|
| macOS (Intel) | ✅ Supported |
| macOS (Apple Silicon) | ✅ Supported |
| Linux (Ubuntu, Debian) | ✅ Supported |
| Linux (Fedora, Arch, openSUSE) | ✅ Supported |
| Windows (WSL) | ✅ Supported |
| Windows (Native) | ✅ Supported |
Installation Options
Core CLI (Recommended)
Includes all commands for tipping, balance checks, and transaction history:
curl -fsSL https://grove.city/install-cli.sh | bash
What's included:
grove tip- Send tips to creatorsgrove check- Verify destinations are tippablegrove balance- Check your account balancegrove history- View transaction historygrove config- Manage configurationgrove contact- Send feedback
Disk space: ~10MB
Wallet (x402)
Wallet features are included in the standard install. No additional flags needed.
Wallet commands:
grove keygen- Generate a wallet for fundinggrove fund- Transfer USDC to your Grove account via x402
Preview Installation (Dry Run)
See what will be installed without making changes:
curl -fsSL https://grove.city/install-cli.sh | bash -s -- --dry-run
This shows:
- Files that will be downloaded
- Dependencies that will be installed
- Where the CLI will be installed (~/.grove)
Installation Steps
The installer performs these steps automatically:
- Detect platform - Detects your OS and architecture
- Download binary - Downloads pre-built CLI for your platform
- Install to ~/.grove - Places the binary in your home directory
- Create symlink - Links
groveto~/.local/bin/grove - Preserve config - Keeps your existing API keys and settings
The installer preserves your configuration files (.env, keyfile.txt, etc.) across updates, so you won't need to reconfigure after reinstalling.
Adding to PATH
If you see a warning about PATH after installation:
For bash:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
For zsh:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
For fish:
fish_add_path $HOME/.local/bin
Verifying Installation
Check that the CLI is installed correctly:
grove --version
Test basic functionality:
grove --help
First-Time Setup
After installation, run the setup wizard:
grove setup
The wizard will:
- Ask you to choose a path: Wallet + Crypto, Email + Credit Card, or paste an API key
- Guide you through setup for the chosen path
- Save your configuration to
~/.grove/.env
Manual setup:
If you prefer to configure manually:
grove config set api_key sk_your_key_here
Updating
Update to the latest version:
grove update
Or reinstall manually:
curl -fsSL https://grove.city/install-cli.sh | bash
Your configuration files are preserved during updates.
Uninstalling
Remove the CLI completely:
rm -rf ~/.grove
rm ~/.local/bin/grove
Troubleshooting
Permission Denied
If you get permission errors:
chmod 700 ~/.grove
chmod 600 ~/.grove/.env
Command Not Found
If grove command is not found after installation:
-
Check if it's installed:
ls -la ~/.local/bin/grove -
Add to PATH (see "Adding to PATH" section above)
-
Restart your terminal