Installation of NodeJs, npm, TypeScript, AngularJS, @angular/cli on Windows 7 Professional SP 1 64-bit:
Since I have found many valuable hints scattered on various posts only after 'painful' search, here a compact compilation (not my ideas but my experience). Hope it helps. install Node.js Windows Installer 64-bit: https://nodejs.org/en/download/ Set npm directory for packages (npm 3.10.10 comes with Node.js but we'll update it later):
npm config set registry https://registry.npmjs.org/
Update npm to the latest version:
npm install npm@latest -g
Beware: npm update only works with the HTTPS-variant (registry https://registry.npmjs.org/). With the HTTP-setting (see below) you earn "shasum check failed".
Set npm directory for packages to the non-HTTPS-variant:
npm config set registry http://registry.npmjs.org/
Reason: the https-variant, which was necessary to update npm itself, does'nt work for all packages, e.g. @angular/cli@latest or angular-cli or typescript@latest either.
Install TypeScript:
npm install -g typescript@latest
Install AngularJS:
npm install angular (my version: 1.6.5)