TypeScript 1.5 beta includes everything you need. Make sure to upgrade, even if you installed TypeScript previously.
$ npm install -g typescript@^1.5.0-beta
$ cd ts-quickstart
$ tsc -w
message TS6042: Compilation complete. Watching for file changes.
We have good experience using these editors:
- Visual Studio Code
- Webstorm 10
- Atom with TypeScript plugin
- Sublime Text with Typescript-Sublime-Plugin
If you want to get up and running immediately, copy the completed sources:
$ cp complete/* .
From the directory that contains index.html:
$ npm install -g http-server # Or sudo npm install -g http-server
$ http-server # Creates a server at localhost:8080
# In a browser, visit localhost:8080/index.html