
@soralabs/cli is a standalone CLI tool for installing components from any shadcn-compatible registry into your project.
It defaults to the Sora UI motion registry, skipping the extra step of registering scopes — while retaining universal compatibility with any remote registry, local file, or GitHub reference.
Quickstart
Get up and running with your first animated component in seconds.
CLI Commands
Complete reference for
add, list, diff, and doctor.Universal Addressing
Install from bare names, direct URLs, GitHub, or local files.
Monorepo Workspaces
Cleanly target individual workspace packages using
--cwd.Why Sora CLI?
- Motion & AI Ready: Built to serve the Sora UI ecosystem with first-class animation support (
framer-motion,gsap, Motion) andprefers-reduced-motioncompliance. - Universal Component Specifiers: Install not just by name, but via direct JSON URLs, GitHub repos (
owner/repo/item), or scoped namespaces (@magicui/item). - Base Primitives Fallback: Automatically checks the Sora UI registry first; if a bare name is not found (e.g.
button,dialog), it transparently falls back toui.shadcn.comusing your project’s configured style. - Intelligent Dependency Resolution: Flattens nested registry dependencies and installs npm packages automatically using your detected package manager (
bun,pnpm,yarn, ornpm). - Drift Detection: Use
diffto inspect changes upstream before upgrading local code. - Environment Diagnostics: Built-in
doctordiagnoses missing Tailwind configurations, Node.js version mismatches, and lockfile issues.