One thing I noticed is, if you are working in new project(folder) you have to reconfigure proxy setting for the particular path
Cd(change terminal window path to the destination folder.
npm config set proxy http://(ip address):(port)
npm config set https-proxy http://(ip address):(port)
npm install -g @angular/cli