Skip to content

 Threejs and TypeScript
 SocketIO and TypeScript
 Blender Topological Earth
 Sweet Home 3D
 Design Patterns Python
 Design Patterns TypeScript
 Course Coupon Codes
Three.js and TypeScript
Kindle Edition
$6.99 $9.99 Paperback 
$22.99 $29.99

Design Patterns in TypeScript
Kindle Edition
$6.99 $9.99 Paperback
$11.99 $19.99

Design Patterns in Python
Kindle Edition
$6.99 $9.99 Paperback
$11.99 $19.99

Install TypeScript

Video Lecture

Install TypeScript Install TypeScript Install TypeScript


This is a code heavy course, and we want our code to be robust, So we will be writing it in typescript. This will also enable advanced Intellisense features in our VSCode so that we can quickly see the available methods and properties in our Three.js scripts, and also have extra documentation available to us much quicker.

Install TypeScript globally and confirm which version is installed

npm install --location=global typescript
tsc -v


If you run tsc -v, and are using PowerShell as the VSCode integrated terminal, then you may see the error

tsc.ps1 cannot be loaded because running scripts is
disabled on this system

You have several options, such as run your commands using the classic Windows CMD prompt, Git Bash or use the tsc.cmd option instead.

tsc.cmd -v