Newer Macs (Catalina
OS in my case) now have the default Z Shell
aka zsh
. Using a Mac zsh
terminal window, I've successfully installed Angular 11.0.5
globally and created a project. I'm using nvm 0.32.2
and node 10.23.0
.
However, on opening Visual Studio Code
and navigating to my project within VS Code's integrated terminal
, I get this error message using any ng command, such as trying to generate a component:
zsh: command not found: ng
Does anyone know how to properly set up Visual Studio Code's integrated terminal
to properly identify ng commands using zsh
?
I've found one possible work around here https://mcmap.net/q/973278/-zsh-command-not-found-ng-on-new-mac-os-catalina but it uses third party tools which I'd like to avoid if possible. Is there no other known way to resolve this?
Angular
globally, but had never closed and relaunchedVisual Studio Code
. I had opened aNew Window
, but this wasn't enough. A simple close and relaunch, as you stated, fixed things. Thank you! – Chabazite