- Install the Turso CLI
- Signup to Turso Cloud
- Create your first Turso Cloud database
- Connect to Database Shell
Install the Turso CLI
We’ll be using the Turso CLI throughout this quickstart to manage databases and connect to the database shell.
Create a Database
Now create your first database with the name You can inspect your new database using the following command:
my-db:Connect to Database Shell
Congratulations, you created a database! Now connect to it with the
When you’re ready to move onto the next step, you’ll want to to quit the shell:
shell command:Replace
my-db with the name of your database if you named it differently.Create table
Create table
Now create a table for
users using SQL:Insert into new table
Insert into new table
Then insert a row into the
users table:Select all rows from table
Select all rows from table
Finally, query for all
users: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: