CLI Reference

Complete command reference for the poll CLI. Install, authenticate, and interact with Poll.fun from your terminal.

Installation

The CLI is distributed as an npm package:

npm install -g @solworks/poll-cli

Authentication

After installing, log in to connect the CLI to your Poll account:

poll auth login

This opens your browser to authenticate. Once complete, your session is stored locally and the CLI is ready to use.

You can check your auth status at any time:

$ poll auth status
✓ Logged in as @johndoe
  Token expires: 2026-04-15

Commands

Authentication

Bets

Portfolio