CLI

Install items from this registry with the shadcn-svelte CLI.

Install a registry item with the command shown on its docs page.

The command displayed on item pages uses the homepage value from registry/config.ts for the base URL. Update homepage before deploying.

Human-facing item pages also work with the CLI through content negotiation. A browser can view /components/button, while the CLI receives the installable item JSON from the same URL when it sends a shadcn user agent or the shadcn JSON Accept header: