Loading…
Loading…
Complete reference for woonext CLI commands
The woonext CLI provides three commands for generating and managing your WooCommerce storefront.
| Command | Description |
|---|---|
| install | Full installation into an existing Next.js project |
| reinstall | Update or selectively reinstall components |
| scaffold | Generate boilerplate for new custom components |
All commands accept these optional arguments:
| Argument | Description | Default |
|---|---|---|
[path] | Target project directory | Current directory |
--packageRoot | Package root for templates | Auto-detected |
--usingSrcDir | Use src/ directory structure | Auto-detected |
# Run in current directory npx woonext install # Run in specific directory npx woonext install ./my-store # After initial install, use npm scripts npm run woonext:reinstall npm run woonext:scaffold