snippettypescriptCritical
How to update TypeScript to latest version with npm?
Viewed 0 times
typescriptwithhowupdatenpmlatestversion
Problem
Currently I have TypeScript 1.0.3 version installed on my machine.
I want to update it to latest one such as 2.0.0.
How to do this with npm?
I want to update it to latest one such as 2.0.0.
How to do this with npm?
Solution
Try
npm install -g typescript@latest. You can also use npm update instead of install, without the latest modifier.Context
Stack Overflow Q#39677437, score: 496
Revisions (0)
No revisions yet.