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

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.
主站蜘蛛池模板: 沈阳市| 甘肃省| 米脂县| 神池县| 上思县| 苏州市| 株洲市| 高州市| 沧源| 徐州市| 崇阳县| 广东省| 济南市| 弥勒县| 北流市| 电白县| 嵩明县| 左贡县| 翁牛特旗| 赫章县| 台江县| 汾西县| 麻江县| 会昌县| 得荣县| 公主岭市| 延津县| 巨鹿县| 岳阳市| 克东县| 溆浦县| 常德市| 毕节市| 罗平县| 宜宾县| 奎屯市| 溆浦县| 旬邑县| 卢龙县| 姜堰市| 安远县|