title: zsh: command not found: nx
body: <p>I am trying to create a library in Angular using <code>nx g @nrwl/angular:lib shared</code> but it keep giving me error <code>zsh: command not found: nx</code>. All I did was before just create a angular project.
  I try using this: <code>npm install -g nx</code> so maybe it install <code>nx</code> and it works, but I still keep getting the same error.</p>
  <p>How can I fix this? I am using Mac.
  If any questions or information needed please feel free to leave the comment down below.</p>