Skip to main content
In this quickstart we will learn how to:
  • Connect to a remote Turso database
  • Execute SQL queries using SQL over HTTP
@tursodatabase/serverless is the lightest option with zero native dependencies. Use @libsql/client if you need a battle-tested driver today with ORM integration.
The @tursodatabase/serverless package connects to Turso using only the fetch API — no native dependencies, making it the smallest option for edge and serverless runtimes.
1

Install

2

Connect and query

For compatibility with the libSQL client API, use the compat module: