Skip to content
VenusUI
Get started
Docs

CLI and namespace

Install, preview, search and update components with the shadcn CLI.

Install by name with @venusui

VenusUI is listed in the shadcn registry index, so @venusui works in any project set up with shadcn, with no other configuration:

npx shadcn@latest add @venusui/marquee

You can pass several names at once. Components that depend on other VenusUI items install those automatically. The first install also adds the registry to components.json:

components.json (excerpt)

{
  "registries": {
    "@venusui": "https://venusui.com/r/{name}.json"
  }
}

Install by URL

The same install by full address. Use it with an older shadcn CLI, or on a network that can’t reach the registry index:

npx shadcn@latest add https://venusui.com/r/marquee.json

Preview and search

See an item’s files, dependencies and CSS before installing:

npx shadcn@latest view @venusui/marquee

Search everything in the registry:

npx shadcn@latest search @venusui --query card

Update a component

First see what changed. --diff compares the latest version in the registry with the file in your project and writes nothing. Lines starting with - are your file, lines starting with + are the registry’s.

npx shadcn@latest add @venusui/marquee --diff

To take the new version, re-run the install with --overwrite. It replaces the file, including any changes you made, so commit your work first.

npx shadcn@latest add @venusui/marquee --overwrite