Sanity CLI
RAPR CLI connectorContent, Docs & MediaManage Sanity.io CMS projects, schemas, datasets, documents, and deployments.
Sanity CLI package details
RAPR CLI connector scope
This is RAPR-authored connector guidance for a command-line tool the user installs locally. The upstream CLI remains governed by its own license and terms. This package contains RAPR-authored CLI usage guidance, install commands, and agent instructions. It does not bundle the upstream CLI binary. Users can also go directly to the public upstream source linked on this page.
How to get started
Install RAPR AI
Download and install RAPR AI on your computer
Find in Marketplace
Open RAPR AI, go to Packages, and browse the marketplace
Install from Marketplace
Click Install. RAPR sets up the wrapper package, connector guidance, or skill instructions for this listing.
Authenticate
Authenticate the Sanity CLI CLI. Run the command once to establish session access.
sanity loginSanity CLI
Manage Sanity.io CMS projects, schemas, datasets, documents, and deployments.
What you can do
- CMS projects: Initialize and deploy Studio projects
- Datasets: Import/export data and handle migrations
- Query: Query content schemas and documents using GROQ
Prerequisites
# Verify installation
sanity --version
Then authenticate the tool:
sanity login
Example Requests
- "Log into my Sanity dashboard"
- "Deploy my Sanity studio instance"
- "Query documents in production dataset"
Ready to try Sanity CLI?
Download RAPR AI and connect Sanity CLI in seconds.