Skip to main content
In this quickstart you will learn how to:
  1. Install the Turso CLI
  2. Signup to Turso Cloud
  3. Create your first Turso Cloud database
  4. Connect to Database Shell
1

Install the Turso CLI

We’ll be using the Turso CLI throughout this quickstart to manage databases and connect to the database shell.
2

Signup to Turso Cloud

The next command will open your browser to sign up:
3

Create a Database

Now create your first database with the name my-db:
You can inspect your new database using the following command:
4

Connect to Database Shell

Congratulations, you created a database! Now connect to it with the shell command:
Replace my-db with the name of your database if you named it differently.
Now create a table for users using SQL:
Then insert a row into the users table:
Finally, query for all users:
When you’re ready to move onto the next step, you’ll want to to quit the shell:
5

Connect your application to your database

You’re now ready to connect your application to your database. Pick from one of the SDKs below to continue:

TypeScript

Rust

Go

Python

Android

Swift

PHP

Ruby

Ruby on Rails

C

SQL over HTTP