title | description |
---|---|
create-nx-workspace - CLI command |
Create a new Nx workspace |
Create a new Nx workspace
create-nx-workspace [name] [options]
Install create-nx-workspace
globally to invoke the command directly, or use npx create-nx-workspace
, yarn create nx-workspace
, or pnpx create-nx-workspace
.
Type: boolean
Default: false
Show all prompts
Type: string
The name of the application when a preset with pregenerated app is selected
Type: string
Choices: [nx, angular]
CLI to power the Nx workspace
Type: string
Default: main
Default base to use for new projects
Type: boolean
Show help
Type: boolean
Enable interactive mode with presets
Type: string
Workspace name (e.g. org name)
Type: boolean
Use Nx Cloud
Type: string
Choices: [npm, pnpm, yarn]
Default: npm
Package manager to use
Type: string
Choices: [apps, empty, core, npm, ts, web-components, angular, angular-nest, react, react-express, react-native, next, nest, express]
Customizes the initial content of your workspace. To build your own see https://nx.dev/nx-plugin/overview#preset
Type: string
Style option to be used when a preset with pregenerated app is selected
Type: boolean
Show version number