We have a shared workstation (don’t ask!) and after users do
npm install ionic cordova
the command “ionic” doesn’t work.
This is because you need to add the path to npm scripts to your PATH variable.
Your user account path should be
%PATH%;C:\Users\fred\AppData\Roaming\npm;