To set up a TypeScript project, you first have to install Node.js globally to your computer system. Afterward, you can install the TypeScript compiler globally to your computer system by running the command, "npm i -g typescript." If the installation is successful, it will return the version number.