17 lines
321 B
Markdown
17 lines
321 B
Markdown
---
|
|
title: 'init - CLI command'
|
|
description: 'Adds nx.json file and installs nx if not installed already'
|
|
---
|
|
|
|
# init
|
|
|
|
Adds nx.json file and installs nx if not installed already
|
|
|
|
## Usage
|
|
|
|
```terminal
|
|
nx init
|
|
```
|
|
|
|
Install `nx` globally to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpm nx`.
|