create-nx-workspace <workspace>

Create a new Nx workspace

Arguments

NameDescription
workspaceThe name of the workspace

Options

NameDescription
--name <workspace>Workspace name (e.g., org name)
--preset <preset>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 [appName]The name of the application created by some presets
--cli <cli>CLI to power the Nx workspace (options: "nx", "angular")
--style <style>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 [interactive]Enable interactive mode when using presets (boolean)
--packageManager, --pm <packageManager>Package manager to use (npm, yarn, pnpm)
--nx-cloud [nx-cloud]Use Nx Cloud (boolean)
--help, -hShow help for create-nx-workspace