You may use directly without installing the generate-react-cli
npx generate-react-cli component MyComponent
Which will install a component based on your project preferences (ex: typescript, scss, etc..).
A file called generate-react-cli.json
will be created where all the settings will be stored for future use.