create-nx-workspace <command>

Create a new Nx workspace

Arguments

NameDescription
commandThe name of the workspace

Options

NameDescription
--name <command>Workspace name (e.g., org name)
--preset <command>What to create in a new workspace (options: "empty", "npm", "web-components", "angular", "angular-nest", "react", "react-express", "react-native", "next", "gatsby", "nest", "express")
--appName [command]The name of the application created by some presets
--cli <command>CLI to power the Nx workspace (options: "nx", "angular")
--style <command>Default style option to be used when a non-empty preset is selected options: ("css", "scss", "less") plus ("styl") for all non-Angular and ("styled-components", "@emotion/styled", "styled-jsx") for React, Next.js, Gatsby
--interactive [command]Enable interactive mode when using presets (boolean)
--packageManager,--pm <command>Package manager to use (npm, yarn, pnpm)
--nx-cloud [command]Use Nx Cloud (boolean)
--help,-hShow help for create-nx-workspace