Quantcast
Channel: How to update TypeScript to latest version with npm? - Stack Overflow
Viewing all articles
Browse latest Browse all 13

Answer by Donato Szilagyi for How to update TypeScript to latest version with npm?

$
0
0

If you are using Windows with very old NodeJS, then uninstall previous NodeJs and NVM (Node Version Manager) in Control Panel (Win7) or Settings/Apps (Win10) if exists. Make sure that they are removed from the PATH.

Reinstall NodeJS: https://nodejs.org/en/download It will install NPM as well.

Install TypeScript globally:

npm install -g typescript

Verify installation:

tsc -v

Viewing all articles
Browse latest Browse all 13

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>