how to use @types/node in node application Since TypeScript 2.x, all typings are installed using npm like this: npm install @types/node.