{"repo":"tursodatabase/turso-cli","free":true,"listed":false,"github":"https://github.com/tursodatabase/turso-cli","clone":"git clone https://github.com/tursodatabase/turso-cli.git","description":"Command line interface to the Turso Cloud.","language":"Go","stars":322,"topics":["database","serverless","edge"],"license":"MIT","category":"databases-storage","readme_excerpt":"Turso CLI This is the command line interface (CLI) to Turso. Documentation There is reference documentation available. For a guided walkthrough, follow the Turso Quickstart docs. Installation Package manager Homebrew (macOS, Linux, WSL) Also remember to configure homebrew shell completions if you haven't already done so. To upgrade an existing installation of the CLI, run: Install script Go Building from source Usage Authentication If you are a new user, you can sign up with: If you already have an account, authenticate with: You are taken to a web page in your default browser to authenticate via GitHub. After successfully authenticated, turso auth login receives an access token that is stored on your settings file. Create database To create a database with a generated name, run: Or you can specify the name of the database with: To create a branch from an existing database, run: Start SQL shell You can start an interactive SQL shell similar to sqlite3 with: Run SQL command without interactive shell You can also run a command without using the interactive SQL shell: Replicate database First, list available locations and pick a location you want to replicate to: Then, to replicate a database, run: List databases To list your databases, run: Delete database Settings The turso program keeps settings in your local machine in the following base directory in turso/settings.json file: OS Config directory ----- ----------------------------------------- Linux $XDG CONFIG HOME or $HOME/","default_branch":null,"files":null,"tree":[],"storefront":"/r/tursodatabase","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tursodatabase/turso-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}