官术网_书友最值得收藏!

Installing TypeScript

To install TypeScript, follow the next steps:

  1. Click Start | All Programs | Windows System | Command Prompt
  2. Write the following command and press Enter:
npm install typescript -g

  1. This will start the TypeScript installation
  2. After a few seconds, the installation will end, and TypeScript will be installed on your
    machine
  3. To test whether or not TypeScript is installed correctly, write the following command into Command Prompt and press Enter:
tsc --version 

 If the installed version is displayed, then TypeScript has been installed correctly

If you receive an error, try to close and reopen Command Prompt and try again. If that doesn't work, try to go through the preceding steps again to reinstall TypeScript.
主站蜘蛛池模板: 天峻县| 张家川| 临武县| 福建省| 东源县| 贡嘎县| 阿鲁科尔沁旗| 渝中区| 江津市| 阳城县| 政和县| 广昌县| 赞皇县| 壤塘县| 渑池县| 辽源市| 且末县| 深圳市| 交口县| 石渠县| 泗水县| 昌乐县| 辽宁省| 西畴县| 丰城市| 迁西县| 突泉县| 牙克石市| 盐津县| 郑州市| 建德市| 望谟县| 汉寿县| 涞源县| 梁山县| 额尔古纳市| 禹城市| 兴安县| 深州市| 鸡东县| 清新县|