--- title: 'workspace-lint - CLI command' description: 'Lint nx specific workspace files (nx.json, workspace.json)' --- # workspace-lint Lint nx specific workspace files (nx.json, workspace.json) ## Usage ```bash nx workspace-lint [files..] ``` [Install `nx` globally](/getting-started/nx-setup#install-nx) to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpx nx`.