--aiAgents | claude, codex, copilot, cursor, gemini | List of AI agents to configure. |
--allPrompts, --a | boolean | Show all prompts. (Default: false) |
--appName | string | The name of the app when using a monorepo with certain stacks. |
--bundler | string | Bundler to be used to build the app. |
--commit.email | string | E-mail of the committer. |
--commit.message | string | Commit message. (Default: Initial commit) |
--commit.name | string | Name of the committer. |
--defaultBase | string | Default base to use for new projects. (Default: main) |
--docker | boolean | Generate a Dockerfile for the Node API. |
--e2eTestRunner | playwright, cypress, none | Test runner to use for end to end (E2E) tests. |
--formatter | string | Code formatter to use. |
--framework | string | Framework option to be used with certain stacks. |
--help | boolean | Show help |
--interactive | boolean | Enable interactive mode with presets. (Default: true) |
--name | string | Workspace name (e.g. org name). |
--nextAppDir | boolean | Enable the App Router for Next.js. |
--nextSrcDir | boolean | Generate a ‘src/’ directory for Next.js. |
--nxCloud, --ci | github, gitlab, azure, bitbucket-pipelines, circleci, skip, yes | Which CI provider would you like to use? |
--packageManager, --pm | bun, npm, pnpm, yarn | Package manager to use. (Default: npm) |
--prefix | string | Prefix to use for Angular component and directive selectors. |
--preset | string | Customizes the initial content of your workspace. Default presets include: [“apps”, “npm”, “ts”, “web-components”, “angular-monorepo”, “angular-standalone”, “react-monorepo”, “react-standalone”, “vue-monorepo”, “vue-standalone”, “nuxt”, “nuxt-standalone”, “next”, “nextjs-standalone”, “react-native”, “expo”, “nest”, “express”, “react”, “vue”, “angular”, “node-standalone”, “node-monorepo”, “ts-standalone”]. To build your own see https://nx.dev/extending-nx/recipes/create-preset. |
--routing | boolean | Add a routing setup for an Angular or React app. (Default: true) |
--skipGit, --g | boolean | Skip initializing a git repository. (Default: false) |
--skipGitHubPush | boolean | Skip pushing to GitHub via gh CLI. (Default: false) |
--ssr | boolean | Enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering) for the Angular application. |
--standaloneApi | boolean | Use Standalone Components if generating an Angular app. (Default: true) |
--style | string | Stylesheet type to be used with certain stacks. |
--unitTestRunner | jest, vitest, none | Test runner to use for unit tests. |
--useGitHub | boolean | Will you be using GitHub as your git hosting provider? (Default: false) |
--useProjectJson | boolean | Use a ‘project.json’ file for the Nx configuration instead of a ‘package.json’ file. This defaults to ‘true’ when ‘—no-workspaces’ is used. Otherwise, it defaults to ‘false’. |
--useReactRouter | boolean | Generate a Server-Side Rendered (SSR) React app using React Router. |
--verbose, --v | boolean | Enable verbose logging. (Default: false) |
--version | boolean | Show version number |
--workspaces | boolean | Use package manager workspaces. (Default: true) |
--workspaceType | integrated, package-based, standalone | The type of workspace to create. |