Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 14, 2021 08:47 pm GMT

How to install typescript on Ubuntu

1. Install node

Firstly you have to install node, if you haven't done that yet just type these two commands:

curl -fsSL https://deb.nodesource.com/setup_15.x | sudo -E bash -sudo apt-get install -y nodejs

2. Install TypeScript

When your node is installed, you can proceed to install TypeScript:

npm install -g typescript

3. Check if everything works

Now check if everything working properly by typing this simple command:

tsc

You should see a version of TypeScript you just install, and a list of options for tsc command.


Original Link: https://dev.to/quentindamianino/how-to-install-typescript-on-ubuntu-33am

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To