CLI Reference
All Grove CLI commands and options.
Usage
grove [options]
grove run <command>Commands
grove
Start the Grove server. By default, runs interactively in the foreground.
groveOn startup, Grove will:
- Check that all dependencies are installed (tmux, ttyd, Tailscale)
- Offer to install any missing dependencies via Homebrew
- Start the HTTP server
- Set up a Tailscale Funnel for external access
- Display the server URL and a QR code for mobile access
grove run <command>
Run a command in a tmux session with a web terminal accessible over HTTPS.
grove run claudeThis will:
- Create a new tmux session running the specified command in the current directory
- Start a ttyd process serving the tmux session over HTTPS using Tailscale certificates
- Print the terminal URL
- Attach to the tmux session locally
When you detach or the command exits, the session and ttyd process are cleaned up automatically.
grove stop
Stop a background Grove server and kill all active sessions.
grove stop
# or
grove --stopOptions
| Option | Description |
|---|---|
-b, --background | Start the server in the background, freeing the terminal |
--port <number> | Set the server port (default: 3000) |
--stop | Stop the background server and kill all sessions |
-h, --help | Show help message |
Examples
# Start server interactively
grove
# Start server in background on custom port
grove -b --port 4000
# Run Claude Code with mobile access
grove run claude
# Stop background server
grove stop