# Turso CLI

> Use this skill when the user wants to create or manage Turso libSQL/SQLite databases, configure replicas, or get database connection URLs.

- Skill: `javimosch/turso-cli` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/turso-cli`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/turso-cli/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/turso-cli

---


# Turso CLI

Manage libSQL/SQLite databases, replicas, and groups from the terminal.

## Commands

- `turso-cli db list` — List databases
- `turso-cli db create` — Create a new database
- `turso-cli db shell` — Open a SQL shell
- `turso-cli _ _` — Passthrough to turso CLI

## Installation

```bash
brew install tursodatabase/tap/turso
```

## Authentication

```bash
turso auth login
# or set TURSO_API_TOKEN
```

## Usage Examples

- "List my Turso databases"
- "Create a new SQLite database"
- "Open a SQL shell to my database"
- "Get a database token"

## Key Commands

```bash
# List databases
turso db list

# Create database
turso db create my-database

# Get database info
turso db show my-database

# Create auth token
turso db tokens create my-database

# SQL shell
turso db shell my-database

# Manage groups
turso group list
turso group create my-group --location ord
```

## Key Features
- **libSQL/SQLite** - Edge database
- **Replicas** - Global replication
- **Groups** - Database grouping
- **JSON Output** - Structured data
- **Shell Access** - Direct SQL queries

