upstash-cli
Upstash CLI lets you manage Redis, Vector, Search, and QStash resources programmatically through the Upstash Developer API. All commands output JSON and run non-interactively, making them ideal for automation workflows. Handle database creation, backups, indexes, team members, and service configuration from the command line.
Upstash CLI automates management of Redis, Vector, Search, and QStash resources via the Developer API.
AI-generated summary based on this skill's SKILL.md
Install
upstash/skills/upstash-cli · repository language: JavaScript
git clone https://github.com/upstash/skills
cp -r skills/skills/upstash-cli ~/.claude/skills/upstash-clinpx skillfed install upstash/skills/upstash-cliFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What can upstash-cli manage from the terminal?
Upstash CLI lets you manage Redis, Vector, Search, and QStash resources programmatically through the Upstash Developer API. You can create and configure databases and indexes, execute Redis commands, manage backups, administer teams and member access, and query service statistics—all from the command line with JSON output for automation workflows.
How do I run upstash commands from terminal for database management?
Upstash CLI runs non-interactively through the terminal, outputting JSON for easy parsing in automation scripts. You can list all databases and indexes, create new Redis databases with specific configurations, manage backups, reset credentials, and configure region settings—all via command-line commands designed for programmatic access.
Can upstash-cli automate upstash infrastructure setup?
Yes, upstash-cli automates Upstash infrastructure management across Redis, Vector, Search, and QStash services. You can provision resources, configure team members and access controls, rotate QStash tokens, perform dry-run deletions, retrieve database credentials, and query search and vector statistics—all through CLI commands ideal for infrastructure-as-code workflows.
What license does upstash-cli use?
Upstash CLI is released under the MIT license, allowing free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
How does upstash-cli handle vector index creation and stats?
Upstash CLI supports vector index management and similarity search setup through programmatic commands. You can create vector indexes, configure them for your use case, and query vector and search index statistics directly from the terminal with JSON output for integration into automation pipelines.
Can I manage upstash team members and access via CLI?
Yes, upstash-cli provides commands to administer Upstash teams and manage member access programmatically. You can create teams, add or remove members, and configure permissions through the command line, making team administration scriptable and automatable.
SKILL.md
rendered from the published skill — quoted content, verbatim
The Upstash CLI (upstash) manages Upstash services via the Upstash Developer API. All commands are non-interactive and emit JSON on stdout. Errors go to stderr as { "error": "..." } with exit code 1.
Install
npm i -g @upstash/cli
Authentication
Recommended: run upstash login once per machine. Prompts for email and a Developer API key (create one at https://console.upstash.com/account/api), verifies them, and saves to ~/.config/upstash/config.json.
upstash login
Alternatives — env vars (also auto-loaded from a .env in cwd), or --email / --api-key inline, or --env-path <path> to point at a specific .env:
export UPSTASH_EMAIL=you@example.com
export UPSTASH_API_KEY=your_api_key
Precedence: flags > env vars > .env > saved config. Prefer a read-only API key for agents when
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
skills/upstash-cli/SKILL.md