You can get TypeScript at [http://www.typescriptlang.org/] or by just running this command (assuming you have Node.JS installed).
npm install -g typescript
To run the tests, use this:
tsc --out t/test.js t/test.ts
and then load t/test.html in your browser of choice:
open t/test.html
To run the first example, use this:
tsc --out examples/001-basic/app.js examples/001-basic/app.ts
and then load app.html in your browser of choice:
open examples/001-basic/app.html