fanvue) puts your Fanvue account in your terminal. Every public API operation is a command, so you can read your unread chats, reply to a fan, publish a post, sort the vault or pull this month’s earnings without opening a browser or writing an app. Pipe the output into jq, put it in a cron job, or hand it to a coding agent.
You need a Fanvue creator or agency account and Node.js 18 or later. There’s no app to register and no API credentials to manage. You sign in with Fanvue in your browser, and you’re running commands a minute later.
Get started
1
Install the CLI
Install the The package installs one compiled binary for macOS, Linux or Windows. Nothing else runs alongside it.
@fanvue/cli package globally, then check the version.2
Sign in
Sign in with write access so you can send messages and publish posts. Fanvue opens in your browser, and you approve the Fanvue CLI.Sign in covers read-only access, signing in over SSH and signing out.
3
Run your first commands
Check what’s waiting, read a chat, then answer it.
What you can run
Commands follow the sections of your Fanvue account. Run a section name on its own to list its commands, and add--help to any command for its flags.
Messages
fanvue messages: read and send chats, mass messages, templates and automated replies.Fans
fanvue fans: subscribers, followers, fan insights, custom lists and blocks.Vault and posts
fanvue vault and fanvue posts: organise folders and collections, then publish, pin and repost.Insights
fanvue insights: earnings, top spenders, subscribers, retention and unsubscribe reasons.Links and promotions
fanvue links and fanvue promotions: tracking links, free trial links, media links and promotions.Agencies
fanvue agency: your roster and agency insights, plus --creator on any command a creator can run.Everyday commands
fanvue <section> list|get|create|update, and any command takes --help for its flags.
Run a command
Flags are the operation’s query parameters and body fields under their API names, so--mediaUuids sets mediaUuids. Repeat a flag to send a list, and pass an object field as JSON. To send a whole body, use --data with JSON or a file. Individual flags override the fields in --data.
fanvue api sends a raw request to any route the CLI has a command for, and refuses any other route.
Choose the CLI or the MCP server
Both run on the same Fanvue account, with the same sign-in and the same scopes.Confirm changes before they send
Reads send straight away. A command that changes data needs--yes. A command that changes something fans see or pay for needs --confirm <your handle>, for example your subscription price, a promotion or a mass message. --yes alone is refused for these, so a script can’t make the change by accident. Without the flag, the command sends nothing and exits with code 7, naming the flag it needs.
The CLI never stops to ask a question by default, so a script or an agent can’t hang on a prompt. To be asked at the terminal instead, add --interactive. The CLI then asks before a change, and asks you to type your handle for a change fans see.
Add --dry-run to any command to print the request it would send without sending it.
Money stays in Fanvue
The CLI can read your checkout links, payments, refund requests and subscriptions, but it can’t move money. Creating, changing or deleting a checkout link, requesting or withdrawing a refund, and cancelling or reactivating a checkout-link subscription are refused with403 and the code operation_excluded, whatever the session’s access. Make those changes in Fanvue.
The command reference marks these commands Not available.
Keep your account safe
The CLI never holds your Fanvue password or your Fanvue access token. It signs in to a Fanvue service that keeps your Fanvue token on Fanvue’s servers and forwards each command, so the CLI only stores its own session, in your system’s credential store. Access tokens never appear in the output, and--debug hides them too. Signed media links are hidden unless you add --show-url, because anyone holding one can open the media until it expires. To cut off the CLI on every computer, remove the Fanvue CLI from the apps connected to your Fanvue account.
Act for a creator as an agency
Agency team members add--creator <creatorUserUuid> to act for a creator they manage. The CLI sends the operation’s /v1/creators/{creatorUserUuid}/... route, which carries the same scopes and uses the creator’s own rate-limit budget. The command reference marks which commands accept --creator.
Read the output
At a terminal, lists print as a table and single objects askey value lines. Choose a format with --format, or use --json as a short form of --format json.
--all follows nextCursor and returns every page as one list.
Use the CLI in scripts and agents
Exit codes are stable, so a script or an agent can branch on them.
Codes
3, 5 and 6 are reserved.
When the output isn’t a terminal, errors print to standard error as JSON. code is stable, so branch on it rather than on message. pointer is a JSON Pointer to the input that was wrong, and hint says how to fix it.
429 on a read after the Retry-After interval, and never retries a write, so a change is never sent twice. Each request counts against your rate limit like any other app’s.
Fix a missing command
fanvue: command not found after a global install means npm’s global bin folder isn’t on your PATH. Add it to your shell profile, then open a new terminal.
~/.bashrc instead of ~/.zshrc if your shell is bash.
Update or remove the CLI
Run the install again to update to the latest version, or uninstall the package to remove the CLI.fanvue logout first to remove it.
Next steps
Sign in
Read or write access, signing in over SSH and signing out.
Command reference
Every command, the operation it sends and what it needs before it sends.
MCP server
The same account in a chat client, in plain language.
Scopes
What read and write access cover.