ng is working only in node js command prompt or administrator code example Example: ng is not recognized npm run ng <command>