編輯

共用方式為


Install Teams Toolkit

This section helps you to know about the prerequisites, install Microsoft Teams Toolkit for Microsoft Visual Studio Code, and install a different version of Teams Toolkit.

Prerequisites

  • Download and install Visual Studio Code before you set up Teams Toolkit for Visual Studio Code.
  • NodeJS version 16 or later.
  • NPM 8 or later.

Install Teams Toolkit for Visual Studio Code

You can install Teams Toolkit using Extensions in Visual Studio Code, or install it from the Visual Studio Code Marketplace.

  1. Launch Visual Studio Code.

  2. Select View > Extensions or Ctrl+Shift+X. You can also open extensions by selecting the extensions icon from the Visual Studio Code activity bar.

    Screenshot shows the Extensions option under View.

    The EXTENSIONS: MARKETPLACE pane appears.

  3. Enter Teams Toolkit in the search box.

    Screenshot show the Teams Toolkit listed in the search result.

    Teams Toolkit appears in the search result.

  4. Select Teams Toolkit, and then from the Teams Toolkit extension page that appears in the right pane, select Install.

    Screenshot show the Teams Toolkit.

    After successful installation of Teams Toolkit in Visual Studio Code, the Teams Toolkit icon appears in the Visual Studio Code activity bar.

    Screenshot shows the Teams Toolkit icon in the activity bar.

Install a different release version

By default, Visual Studio Code automatically keeps Teams Toolkit up-to-date. If you want to install a different release version, follow these steps:

  1. Select Extensions from the Visual Studio Code activity bar.

  2. Enter Teams Toolkit in the search box.

    Screenshot shows the Teams Toolkit search and the result.

  3. Select Teams Toolkit.

  4. On the Teams Toolkit page, select the dropdown next to Uninstall.

  5. Select Install Another Version... from the dropdown list.

    Screenshot shows the option to select other version of Visual Studio Code.

  6. Select the required version to install.

    Screenshot shows versions other than the latest version of Visual Studio Code.

    Teams Toolkit installs the selected version.

Install a prerelease version

The Teams Toolkit for Visual Studio Code extension is available in a prerelease version. To install a Teams Toolkit prerelease version, follow these steps:

  1. Open Visual Studio Code.
  2. Select Extensions from the Visual Studio Code activity bar.
  3. Enter Teams Toolkit in the search box.
  4. On the Teams Toolkit page, select the dropdown arrow next to Install.
  5. Select Install Pre-Release Version.

Next step

See also