Requirements
The CLI works with Node.js 20 or newer. We recommend pnpm 9 or newer. You can invoke the CLI with npx or install it globally.
add
Use the add command to install a component along with its dependencies.
Options
Usage: fastui-cli add [options] [components...]
add a component to your project
Arguments:
components the components to add
Options:
-y, --yes skip confirmation prompt. (default: false)
-o, --overwrite overwrite existing files. (default: false)
-c, --cwd <cwd> the working directory. defaults to the current directory.
-a, --all add all available components (default: false)
-p, --path <path> the path to add the component to.
-s, --silent mute output. (default: false)
-h, --help display help for command