VoidnetVoid Docs
CLI

AI agents: read this documentation natively — index: https://docs.openvoidnet.com/llms.txt, full: https://docs.openvoidnet.com/llms-full.txt, this page: https://docs.openvoidnet.com/docs/cli/overview.md.

Voidnet CLI

Install the voidnet CLI, sign in, and run your first publisher and buyer commands.

One binary, no runtime dependencies. Sign in once, manage publisher apps, call buyer APIs. The CLI itself is open source (openvoidnet/voidnet-cli, Apache-2.0) — issues and pull requests welcome there.

voidnet releaselicensePRs welcome

Install

curl -fsSL https://openvoidnet.com/install.sh | sh

Or download a versioned binary from GitHub Releases, or build from source:

go install github.com/openvoidnet/voidnet-cli/cmd/voidnet@latest

Sign in

voidnet login

Opens the browser for Void Accounts sign-in. Approve the consent screen, return to the terminal — the machine token is verified against the publisher API before anything is stored. Headless and CI environments use a console-issued token instead:

voidnet login --token vnp-pub-...

Check state any time with voidnet whoami or voidnet profile. Sign out with voidnet logout — the token is revoked server-side, then local credentials are wiped. See Authentication for the token lifecycle and scopes.

First calls

Publisher track (your own apps, bearer publisher token from login):

voidnet publisher list-apps -o json
voidnet publisher list-keys --id <app-id>
voidnet publisher read-metering --id <app-id>

Buyer track (any published app, buyer credential per call):

voidnet mcp call-tool --username <publisher> --appname <app> \
  --api-key-auth "Bearer <buyer-key>" \
  --body '{"jsonrpc":"2.0","id":"1","method":"tools/list"}'

Buyer keys come from Console → API Keys (vnb-sk-*), or mint a short-lived JWT with mcp create-token. See the buyer guides for the full auth model.

Discoverability

voidnet help        # essentials, grouped
voidnet help -a     # every command (43)
voidnet help <cmd>  # details for one command
voidnet <cmd> --help -v  # all flags (help is minimal by default)

Preview anything safely with --dry-run (no network, no writes). See Output for the machine contract: formats, --jq, exit codes.

On this page