![]()
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"brew install nodenode -vnpm -vnpm install -g typescripttsc helloworld.ts/usr/local/bin/tsc -> /usr/local/lib/node_modules/typescript/bin/tsc
/usr/local/bin/tsserver -> /usr/local/lib/node_modules/typescript/bin/tsserver
+ typescript@2.4.2
Type tsc in terminal to compile all the files in your tsconfig.json
Then run node filename to have it run your code