how to install typescript on nodejs code example Example: install typescript using npm npm install -g typescript