Installing Typescript on a Mac is very simple just follow the steps below:
- You need to have NodeJS installed on your mac. Go to the NodeJS website and install the current version.
- To varify that your installation was successfull, go into your console and enter the following command:
- If needed you can update your npm by entering the following command in your console:
sudo npm install npm -g
- Now add install typescript. To check your verson just type “tsc” on your console. If you see an option output then Typescript was installed successfully.
npm install -g typescript
Great work you are now set with Typescript and ready for money coding.