Collections and schemas
Create, inspect, update, alias, and manage collection configuration with validated inputs.
Terminal-first operations
Manage Typesense collections, documents, schemas, search, configuration, and cluster operations from one typed command line.
TypesenseKit turns the Typesense Admin API into discoverable commands with generated schemas, copy-ready examples, readable tables, stable JSON, and safer credential handling.
Install and connect
pnpm add -g @typesensekit/cli
tsk profile add local --url http://localhost:8108
tsk profile use local
tsk collections.list --input '{}'The profile command prompts for your API key without placing it in shell history.
Operational coverage
Inspect the input schema before every operation, run the command, and choose human-readable output or stable JSON for automation.
Create, inspect, update, alias, and manage collection configuration with validated inputs.
Import, export, retrieve, search, and delete documents from a consistent terminal interface.
Work with keys, presets, analytics, health, metrics, snapshots, and other supported Typesense operations.
Humans and scripts
Every operation can show its generated schema and examples. Add --json when another program needs stable, redacted output.
tsk operations
tsk documents.search --schema
tsk documents.search --examples
tsk collections.list --input '{}' --jsonPrompt for secrets, pipe them over stdin, use macOS Keychain, or stay environment-only.
Interactive commands confirm destructive operations before sending them to Typesense.
Use structured output for scripts while keeping known secret fields out of results and errors.
Choose the right tool
Official Typesense clients belong in application code. TypesenseKit is for terminal workflows shared by operators, shell automation, CI jobs, and AI agents.
Explore official Typesense clients →Common questions
Installation, cluster compatibility, credentials, and when to use a command-line tool.
A Typesense CLI lets operators manage and inspect a Typesense cluster from a terminal. TypesenseKit provides typed commands for collections, documents, search, schemas, configuration, and system operations.
Install it globally with pnpm add -g @typesensekit/cli or npm install -g @typesensekit/cli. The command is tsk.
Yes. Point a profile or the TYPESENSE_URL environment variable at any reachable Typesense cluster and provide an API key with the permissions your commands require.
Use an official Typesense client inside application code. Use TypesenseKit when a human, shell script, CI job, or AI agent needs a terminal-first operational interface with generated schemas, examples, JSON output, and safety controls.
Profiles can prompt securely, read an API key from stdin, or use macOS Keychain. Output and errors redact secrets, and environment-only operation is also supported.
Open source
Install the CLI, inspect the commands, and star TypesenseKit if it improves your search workflow.