Skip to content

InstaNode-dev/cli

instant CLI

Zero-friction infrastructure CLI for instanode.dev.

Install

Pre-built binaries for darwin / linux × amd64 / arm64 (the curl-pipe-sh script auto-detects your platform):

curl -sSfL https://instanode.dev/install.sh | sh

The installer downloads the latest release archive from GitHub Releases, verifies its SHA-256 against the signed checksums.txt, and drops the binary at /usr/local/bin/instant. Set INSTANT_INSTALL_DIR=$HOME/.local/bin to avoid sudo; set INSTANT_VERSION=v0.2.0 to pin a specific release.

Or, with a Go toolchain already installed:

go install github.com/InstaNode-dev/cli@latest

Windows users: download the .zip from the releases page and add instant.exe to your PATH.

Usage

Every provisioning command requires a --name flag. The name must be 1–64 characters and match ^[A-Za-z0-9][A-Za-z0-9 _-]*$; omitting it is rejected both locally and by the API (HTTP 400).

instant db new --name app-db          # Provision a Postgres database
instant cache new --name app-cache    # Provision a Redis cache
instant nosql new --name app-docs     # Provision a MongoDB document store
instant queue new --name app-jobs     # Provision a NATS JetStream queue
instant resources                     # List your provisioned resources (requires login)
instant status                        # Show locally tracked resources
instant login                         # Log in to your instanode.dev account
instant whoami                        # Show current account

Targeting an environment

Every new verb accepts an optional --env flag that the API honors (default: development; CLAUDE.md rule 11):

instant db new --name app-db --env production
instant cache new --name app-cache --env staging

The response prints both the resolved env and — when the server downgraded a request (e.g. anonymous caller asking for production) — an env_override_reason line explaining why.

Multi-service stacks

instant stack new is a CLI follow-up — not shipped yet. For multi-service stacks today, use either the MCP create_stack tool (Claude Code, Cursor, any MCP client) or a direct POST /stacks/new call against the API. The request schema lives at https://api.instanode.dev/openapi.json.

Single-service deploys via the CLI are also still a follow-up — instant deploy --help prints the canonical MCP/curl paths.

Build from source

go build -o bin/instant .

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors