{"id":29029379,"url":"https://github.com/upstash/cli","last_synced_at":"2025-06-26T08:06:54.328Z","repository":{"id":37977301,"uuid":"492764325","full_name":"upstash/cli","owner":"upstash","description":"Upstash CLI","archived":false,"fork":false,"pushed_at":"2024-12-06T07:54:31.000Z","size":441,"stargazers_count":22,"open_issues_count":2,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-06-13T12:16:37.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/upstash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-16T09:19:19.000Z","updated_at":"2025-04-04T09:26:17.000Z","dependencies_parsed_at":"2022-09-06T19:53:15.047Z","dependency_job_id":null,"html_url":"https://github.com/upstash/cli","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/upstash/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upstash%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upstash%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upstash%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upstash%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/upstash","download_url":"https://codeload.github.com/upstash/cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upstash%2Fcli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260748146,"owners_count":23056518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-26T08:06:53.001Z","updated_at":"2025-06-26T08:06:54.321Z","avatar_url":"https://github.com/upstash.png","language":"TypeScript","funding_links":[],"categories":["Cloud and Infrastructure"],"sub_categories":[],"readme":"# Upstash CLI\n\nManage Upstash resources in your terminal or CI.\n\n![](./img/banner.svg)\n\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/upstash/cli)\n[![Downloads/week](https://img.shields.io/npm/dw/lstr.svg)](https://npmjs.org/package/@upstash/cli)\n\n# Installation\n\n## npm\n\nYou can install upstash's cli directly from npm\n\n```bash\nnpm i -g @upstash/cli\n```\n\nIt will be added as `upstash` to your system's path.\n\n## Compiled binaries:\n\n`upstash` is also available from the\n[releases page](https://github.com/upstash/cli/releases/latest) compiled for\nwindows, linux and mac (both intel and m1).\n\n# Usage\n\n```bash\n\u003e upstash\n\n  Usage:   upstash    \n  Version: development\n\n  Description:\n\n    Official cli for Upstash products\n\n  Options:\n\n    -h, --help               - Show this help.                                                                           \n    -V, --version            - Show the version number for this program.                                                 \n    -c, --config   \u003cstring\u003e  - Path to .upstash.json file\n\n  Commands:\n\n    auth   - Login and logout                   \n    redis  - Manage redis database instances    \n    team   - Manage your teams and their members\n\n  Environment variables:\n\n    UPSTASH_EMAIL    \u003cstring\u003e  - The email you use on upstash\n    UPSTASH_API_KEY  \u003cstring\u003e  - The api key from upstash\n```\n\n## Authentication\n\nWhen running `upstash` for the first time, you should log in using\n`upstash auth login`. Provide your email and an api key.\n[See here for how to get a key.](https://docs.upstash.com/redis/howto/developerapi#api-development)\n\nAs an alternative to logging in, you can provide `UPSTASH_EMAIL` and\n`UPSTASH_API_KEY` as environment variables.\n\n## Usage\n\nLet's create a new redis database:\n\n```\n\u003e upstash redis create --name=my-db --region=eu-west-1\n  Database has been created\n\n  database_id          a3e25299-132a-45b9-b026-c73f5a807859\n  database_name        my-db\n  database_type        Pay as You Go\n  region               eu-west-1\n  type                 paid\n  port                 37090\n  creation_time        1652687630\n  state                active\n  password             88ae6392a1084d1186a3da37fb5f5a30\n  user_email           andreas@upstash.com\n  endpoint             eu1-magnetic-lacewing-37090.upstash.io\n  edge                 false\n  multizone            false\n  rest_token           AZDiASQgYTNlMjUyOTktMTMyYS00NWI5LWIwMjYtYzczZjVhODA3ODU5ODhhZTYzOTJhMTA4NGQxMTg2YTNkYTM3ZmI1ZjVhMzA=\n  read_only_rest_token ApDiASQgYTNlMjUyOTktMTMyYS00NWI5LWIwMjYtYzczZjVhODA3ODU5O_InFjRVX1XHsaSjq1wSerFCugZ8t8O1aTfbF6Jhq1I=\n\n\n  You can visit your database details page: https://console.upstash.com/redis/a3e25299-132a-45b9-b026-c73f5a807859\n\n  Connect to your database with redis-cli: redis-cli -u redis://88ae6392a1084d1186a3da37fb5f5a30@eu1-magnetic-lacewing-37090.upstash.io:37090\n```\n\n## Output\n\nMost commands support the `--json` flag to return the raw api response as json,\nwhich you can parse and automate your system.\n\n```bash\n\u003e upstash  redis create --name=test2113 --region=us-central1 --json | jq '.endpoint'\n\n \"gusc1-clean-gelding-30208.upstash.io\"\n```\n\n## Contributing\n\nIf anything feels wrong, you discover a bug or want to request improvements,\nplease create an issue or talk to us on\n[Discord](https://discord.com/invite/w9SenAtbme)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupstash%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupstash%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupstash%2Fcli/lists"}