Get StartedCLI

CLI

Add components to your app instantly with Luxe CLI.

Npm Registry

init

Use the init command to create initial setup in your project.

This command installs required dependencies, configures CSS variables, and adds the cn util.

npx luxe init

Options

Usage: luxe init
 
initialize your project and install dependencies.

add

Use the add command to add components and your dependencies in your app.

npx luxe add

Options

Usage: luxe add [components...]
 
select and add the components you need.
 
Arguments:
  components         enter the component name(s)