create-lwr
Scaffolding Your First LWR Project
Compatibility Note:
LWR requires Node.js version >=14.0.0.
With NPM:
$ npm init lwr
With Yarn:
$ yarn create lwr
Then follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a LWR + lwc-ts project, run:
npm init lwr@latest my-lwr-app --template lwc-ts
npm init lwr@latest my-lwr-app -- --template lwc-ts
yarn create lwr my-lwr-app --template lwc-ts
pnpx create-lwr my-lwr-app --template lwc-ts