Skip to main content
Machines CLI lets you manage your Machines account from the terminal. Use it for login, identity verification, balance checks, crypto deposits, card management, agentic payments, and connecting AI apps.

Prerequisites

  • Node.js 18+
  • A Machines account

Install

After installing, run machines to open the guided menu, or use commands directly.
Don’t want a global install? Use npx machines-cash@latest <command> for one-off commands.

Quick start

1

Log in

Opens your browser to authenticate. Your session is saved locally for future commands.
2

Verify your identity

Check your status anytime:
3

Add money

Check your balance:
4

Create a card

5

Buy something

If you already have an active Machines card and saved billing profile, you usually do not need to pass anything else.

Commands

Login

Balance and deposits

Send only the exact token on the exact network shown. If a memo appears, include it exactly. CLI deposits are crypto only.

Identity verification

Browser-based (recommended):
CLI-based (for automation):
See Identity Verification for the full JSON format and field reference.

Cards

Disposable cards:

Agentic payments

Notes:
  • shopping defaults to Amazon right now
  • machines search is the preferred command
  • machines browser still works as a compatibility alias
  • if --card is omitted, Machines uses your default active card and stored billing profile
  • --wait and --watch keep polling until the action pauses or finishes
  • use --payment-card-file <path|-> only for direct testing; never pass raw card numbers in flags
More examples:
See Agentic Payments for the full purchase flow and API examples.

Connect an AI app

For step-by-step AI setup, see MCP Setup or Claude.

Agent output

Add --json to any command for structured output:
This also works for commerce commands:

Troubleshooting

Next steps