NX Commands
The Nx CLI provides many commands. They are organized here into commands that:
# init - Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up remote caching.
nx init
# add - Install a plugin and initialize it.
nx add my-plugin
# generate - Runs a generator that creates and/or modifies files based on a generator from a plugin.
nx generate @nx/react:component libs/my-lib/src/lib/my-component