Starwind Pro docs
Command Line Interface
Starwind CLI manages the Runtime-backed V3 components that Pro blocks depend on. Run commands from the project root.
Initialize Pro
Use --pro to configure the Pro registry. The CLI also initializes Starwind UI when required.
pnpm dlx starwind@latest init --proFor an existing V3 project, use setup:
pnpm dlx starwind@latest setup --proMigrate from V2
pnpm dlx starwind@latest migrateMigration is guided by default. It can create a component backup, replace registered conflicts, apply public rename codemods, and report any unresolved source: "legacy" entries. Read the V3 migration guide before you update Pro blocks.
Search
Search styled components, Primitives, and Pro blocks before installation.
pnpm dlx starwind@latest search hero --plan free --limit 5pnpm dlx starwind@latest search comboboxAdd
Install a Pro block with the exact command shown on its preview page. Starwind resolves its V3 component and package dependencies.
pnpm dlx starwind@latest add @starwind-pro/hero-01Free blocks install without a license. Premium blocks require Pro setup and a valid license key.
Useful options include --all, --yes, --overwrite, --framework astro, and --package-manager pnpm.
Update
Preview changes before you replace customized component source.
pnpm dlx starwind@latest update button --dry-runpnpm dlx starwind@latest update button --diffpnpm dlx starwind@latest update buttonDocs and Primitives
pnpm dlx starwind@latest docs dialog comboboxpnpm dlx starwind@latest primitives add dialogUse styled components for normal Pro projects. Choose Primitives or direct Runtime APIs when you own the adapter or raw DOM contract.
The frozen V2 registry is documented in the V3 migration guide.
See the current Starwind UI CLI guide for every command and option.