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.
Top comments (2)
Good Job for posting this Article. But, unfortunately I'll be switching from Ubuntu to Windows 10 again :'(
Windows 10 is great system too, especially for Microsoft technologies like TypeScript and C#