CLI reference

init

chrome init [--cwd .] [--yes] [--registry <url>]

bootstrap chrome in this project. detects pkg manager, framework, tailwind version. writes chrome.json, lib/utils.ts, and patches globals.css.

add

chrome add <name...> [--overwrite] [--yes]

install one or more components. resolves registryDependencies transitively. unions dependencies and runs a single install pass.

list

chrome list

list available components grouped by type.

diff

chrome diff <name>

show a unified diff between your local copy and the registry version.