Install Teams Toolkit

Prerequisites

Before installing Teams Toolkit for Visual Studio Code, you need to download and install Visual Studio Code.

Before installing Teams Toolkit for Visual Studio, you need to download and install Visual Studio 2022 using the Visual Studio Installer.

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. Open Extensions by selecting View > Extensions or Ctrl+Shift+X.

    Screenshot shows how to install.

  3. Enter Teams Toolkit in the search box.

    Screenshot show the Toolkit.

  4. Select Install.

    Screenshot shows install toolkit 4.0.0.

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

    Screenshot shows after install view.

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 the Extensions icon from the Visual Studio Code activity bar.

  2. Enter Teams Toolkit in the search box.

    Search for Teams Toolkit.

  3. Select Teams Toolkit.

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

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

    Select other version of VS Code.

  6. Select the required version to install.

    Other then the latest version of VS code.

Install a pre-release version

The Teams Toolkit for Visual Studio Code extension is available on GitHub. To download pre-releases, go to the releases page on GitHub and look for extension downloads marked as icon.

Install Teams Toolkit for Visual Studio

Important

We recommend you to use Visual Studio 2022 version 17.4.1 or later for Teams Toolkit, which is the latest release to fix several known issues in previous versions of Visual Studio.

  1. Download the Visual Studio installer, or open it if already installed.

  2. Select Install or select Modify if Visual Studio is already installed.

  3. Select the Workloads tab, then select the ASP.NET and web development workload.

  4. On the right, select the Microsoft Teams development tools in the Optional section of the Installation details panel.

  5. Select Install.

    Screenshot shows how to install Visual studio.

  6. After the installation completes, select Launch to open Visual Studio.

    Screenshot shows how to launch visual studio.

Next steps

See also