npm install -g typescript

Category: Node.js & npm/yarn

npm install -g typescript

Install a package globally

Installs a package globally so it's available as a command-line tool anywhere on your system, not just in this project.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.