{"id":13513948,"url":"https://github.com/tursodatabase/turso-cli","last_synced_at":"2026-01-29T23:11:46.726Z","repository":{"id":149509264,"uuid":"579061584","full_name":"tursodatabase/turso-cli","owner":"tursodatabase","description":"Command line interface to the Turso Cloud.","archived":false,"fork":false,"pushed_at":"2026-01-09T21:37:53.000Z","size":8596,"stargazers_count":280,"open_issues_count":109,"forks_count":44,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-01-15T02:53:57.864Z","etag":null,"topics":["database","edge","serverless"],"latest_commit_sha":null,"homepage":"https://turso.tech","language":"Go","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/tursodatabase.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-16T15:04:30.000Z","updated_at":"2026-01-09T19:23:12.000Z","dependencies_parsed_at":"2026-01-09T07:03:15.665Z","dependency_job_id":null,"html_url":"https://github.com/tursodatabase/turso-cli","commit_stats":null,"previous_names":["chiselstrike/iku-turso-cli","tursodatabase/turso-cli","chiselstrike/turso-cli"],"tags_count":199,"template":false,"template_full_name":null,"purl":"pkg:github/tursodatabase/turso-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tursodatabase%2Fturso-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tursodatabase%2Fturso-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tursodatabase%2Fturso-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tursodatabase%2Fturso-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tursodatabase","download_url":"https://codeload.github.com/tursodatabase/turso-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tursodatabase%2Fturso-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28889865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["database","edge","serverless"],"created_at":"2024-08-01T05:00:40.827Z","updated_at":"2026-01-29T23:11:46.709Z","avatar_url":"https://github.com/tursodatabase.png","language":"Go","funding_links":[],"categories":["Go","Databases"],"sub_categories":[],"readme":"# Turso CLI\n\n[![Go](https://github.com/tursodatabase/turso-cli/actions/workflows/go.yml/badge.svg)](https://github.com/tursodatabase/turso-cli/actions/workflows/go.yml)\n[![License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/tursodatabase/turso-cli/blob/main/LICENSE)\n\nThis is the command line interface (CLI) to Turso.\n\n## Documentation\n\nThere is [reference documentation](https://docs.turso.tech/reference/turso-cli)\navailable.\n\nFor a guided walkthrough, follow the\n[Turso Quickstart docs](https://docs.turso.tech/quickstart).\n\n## Installation\n\n### Package manager\n\n#### [Homebrew](https://brew.sh) (macOS, Linux, WSL)\n\n```bash\nbrew install tursodatabase/tap/turso\n```\n\nAlso remember to configure `homebrew`\n[shell completions](https://docs.brew.sh/Shell-Completion) if you haven't\nalready done so.\n\nTo upgrade an existing installation of the CLI, run:\n\n```bash\nbrew upgrade turso\n```\n\n### Install script\n\n```bash\ncurl -sSfL https://get.tur.so/install.sh | bash\n```\n\n### Go\n\n```bash\ngo install github.com/tursodatabase/turso-cli/cmd/turso@latest\n```\n\n### Building from source\n\n```bash\ncd cmd/turso \u0026\u0026 go install\n```\n\n## Usage\n\n### Authentication\n\nIf you are a new user, you can sign up with:\n\n```bash\nturso auth signup\n```\n\nIf you already have an account, authenticate with:\n\n```bash\nturso auth login\n```\n\nYou are taken to a web page in your default browser to authenticate via GitHub.\nAfter successfully authenticated, `turso auth login` receives an access token\nthat is stored on your settings file.\n\n### Create database\n\nTo create a database with a generated name, run:\n\n```bash\nturso db create\n```\n\nOr you can specify the name of the database with:\n\n```bash\nturso db create \u003cdatabase name\u003e\n```\n\n### Start SQL shell\n\nYou can start an interactive SQL shell similar to `sqlite3` with:\n\n```bash\nturso db shell \u003cdatabase name\u003e\n```\n\n### Run SQL command without interactive shell\n\nYou can also run a command without using the interactive SQL shell:\n\n```bash\nturso db shell \u003cdatabase name\u003e \u003csql query\u003e\n```\n\n### Replicate database\n\nFirst, list available locations and pick a location you want to replicate to:\n\n```bash\nturso db locations\n```\n\nThen, to replicate a database, run:\n\n```bash\nturso db replicate \u003cdatabase name\u003e \u003clocation\u003e\n```\n\n### List databases\n\nTo list your databases, run:\n\n```bash\nturso db list\n```\n\n### Delete database\n\n```bash\nturso db destroy \u003cdatabase name\u003e\n```\n\n## Settings\n\nThe `turso` program keeps settings in your local machine in the following base\ndirectory in `turso/settings.json` file:\n\n| OS    | Config directory                          |\n| ----- | ----------------------------------------- |\n| Linux | `$XDG_CONFIG_HOME` or `$HOME/.config`     |\n| macOS | `$HOME/Library/Application Support/turso` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftursodatabase%2Fturso-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftursodatabase%2Fturso-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftursodatabase%2Fturso-cli/lists"}