Setting up a TypeScript project from scratch on OS X. All TypeScript source will be under a src
directory.
Install nvm
globally. Follow the instructions from the nvm github readme.
Create the project directory and cd
into it.
Use nvm
to install and choose the version of node
. Here we'll use version 18.