typescript in the command line through npm code example Example: install typescript using npm npm install -g typescript