Installs typescript into devDependencies, the section for build and test tooling that production installs skip. The -d flag matches npm's -D shorthand. Useful for type-checking without shipping the compiler.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.