To check current versions of different packages running on your machine:
For Node:
node -v
For NPM:
npm -v
For TypeScript:
tsc -v
To install above packages in MacOS, check here.
For Node:
node -v
For NPM:
npm -v
For TypeScript:
tsc -v
To install above packages in MacOS, check here.