run as administrator
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned npm install --global @angular/cli@v18 # verify the version with this. ng -version