Install Visual Studio Code
Despite sharing the name, Visual Studio Code is a totally separate code base from Visual Studio. It is open source and free to use. VS Code is even available for Mac and Linux as well as Windows.
Install NPM
NPM (Node Package Manager) is a utility used to install and manage Javascript libraries. The other requirements are much easier to manage with NPM, so install NPM before proceeding.
Install TypeScript
From command prompt:
npm install -g typescript
Fix NPM’s Breaking Change
Either enable scripts in powershell, or set VS Code default terminal to CMD (We use this solution).
Full details here, or to simply change to CMD, do this:
- In VS Code: Press
ctrl+shift+p
- Press ‘terminal: select default profile’
- Select cmd.exe as default terminal shell.