init

Adds nx.json file and installs nx if not installed already

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

integrated

Type: boolean

Migrate to an Nx integrated layout workspace. Only for CRA and Angular projects.

version

Type: boolean

Show version number