nx/docs/generated/cli/init.md
2023-04-13 09:57:05 -04:00

679 B

title description
init - CLI command Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up distributed caching. For more info, check https://nx.dev/recipes/adopting-nx.

init

Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up distributed caching. For more info, check https://nx.dev/recipes/adopting-nx.

Usage

nx init

Install nx globally to invoke the command directly using nx, or use npx nx, yarn nx, or pnpm nx.

Options

help

Type: boolean

Show help

version

Type: boolean

Show version number