CLI
Play Cabo from the CLI.
The interactive terminal client exposes the same rooms, private knowledge, legal actions, and reconnect behavior as the Web table.
Install and start
The CLI requires Node.js 22 or newer.
npm install --global @cabo-game/cli
cabo --name Alice
cabo --server https://cabo-api.human404.link --name Alice--server selects the Cabo server. --name sets a player name up to 20 characters; otherwise the CLI uses the current operating-system user.
Connection commands
| Command | Effect |
|---|---|
rooms | Browse all public rooms. Use ↑/↓ to select, ←/→ to page, and Enter to join. |
create public [target] --name "room name" | Create a public room. A blank name uses [player]'s room. |
create private [target] --name "room name" | Create a private room, then enter a six-digit password without echo. |
join ROOM [password] | Join by case-sensitive room code, optionally with its password. |
reconnect | Reconnect to the locally saved seat. |
quit | Leave gracefully and exit the client. |
Lobby commands
| Command | Effect |
|---|---|
players | Show the current seats. |
start | Start once at least two players are connected; host only. |
leave | Release your seat but keep the CLI process open. |
Game commands
| Command | Effect |
|---|---|
show | Render the latest table and your remembered cards. |
draw deck | Draw a private card from the deck. |
draw discard | Take the top discard, then choose cards to replace. |
replace POS [POS ...] [at POS] | Replace one to four positions; at selects the new card’s position. |
resolve LEFT [PENALTY] | Place a mismatched draw and optional penalty at the left or right end. |
discard | Discard the deck card you are holding. |
peek self POS | Use a 7/8 power on one of your positions. |
peek PLAYER POS | Use a 9/10 power on another player’s position. |
swap PLAYER OWN_POS TARGET_POS | Use a J/Q power to blind-swap any own position with any opponent position. |
skip | Skip the pending card power. |
cabo | Call Cabo at the beginning of your turn. |
ready | Confirm the next round after reviewing a round result. |
Interaction notes
Positions run from 1 through the current hand size. A player argument accepts an exact nickname or a session ID. Enter help or ? to show the command reference.
Room names may repeat and contain up to 40 Unicode characters. They are labels only: joining and reconnecting always use the room ID.
In an interactive terminal, the CLI also offers numbered action menus. During a multi-step choice, enter cancel to return to the action menu.