CLI
Thetursodb CLI provides an interactive SQL shell, an MCP server mode, and database management utilities.
Docker
If you prefer Docker, build and run the CLI image from the repository root:Rust
Theturso crate provides an async Rust API built on Tokio. It is compatible with the rusqlite interface pattern.
Requirements: Rust stable, Tokio runtime
sync feature:
See the Rust binding reference for the full API including
Builder, Connection, and prepared statements.JavaScript
The@tursodatabase/database package runs in Node.js with full TypeScript support. A WebAssembly build is available for browser environments.
Requirements: Node.js; Linux (x86, arm64), macOS, or Windows
WebAssembly (browser)
For browser environments, install the WebAssembly variant:Related packages
| Package | Description |
|---|---|
@tursodatabase/serverless | Serverless driver with the same API |
@tursodatabase/sync | Bidirectional sync with Turso Cloud |
See the JavaScript binding reference for the full API.
Python
Thepyturso package provides a DB-API 2.0-compatible interface and asyncio support.
Requirements: Python 3.8+; Linux, macOS, or Windows
See the Python binding reference for synchronous, asyncio, and sync driver usage.
Go
Thetursogo driver implements the standard database/sql interface. It uses purego to call Rust functions without CGO.
Requirements: Go 1.21+; Linux, macOS, or Windows
"turso" driver name:
See the Go binding reference for the sync driver and full API.
Java
Turso integrates with Java through a JDBC driver. The Maven Central artifact istech.turso:turso.
Build and publish locally
See the Java binding reference for JDBC usage details.
Platform support
| Platform | CLI | Rust | JavaScript | Python | Go |
|---|---|---|---|---|---|
| Linux x86_64 | Yes | Yes | Yes | Yes | Yes |
| Linux arm64 | Yes | Yes | Yes | Yes | Yes |
| macOS | Yes | Yes | Yes | Yes | Yes |
| Windows | Yes | Yes | Yes | Yes | Yes |
| Browser (WASM) | — | — | Yes | — | — |