Skip this step if you already have an Nx Workspace.
This command will create an Nx Workspace.
npx create-nx-workspace --preset=angular
I named my workspace “MyOrg” and my Angular application “MyApp”.
Skip this step if you ran step 1 or have already added an app in your workspace that you want to work with.
The next command will generate a new Angular app “MyApp” inside of your “MyOrg” workspace. This command will need to be run from your workspace root directory ‘my-org’.
npx nx generate @nrwl/angular:app MyApp