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. 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 how to install.

    The extensions marketplace pane appears.

  3. Enter Teams Toolkit in the search box.

    Screenshot show the Toolkit.

    Teams Toolkit appears in the search result list.

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

    Screenshot shows install toolkit 4.0.0.

    After successful installation of Teams Toolkit in Visual Studio Code, the 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 Extensions 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 Uninstall.

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

    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 version you’ve selected.

Install a pre-release version

The Teams Toolkit for Visual Studio Code extension is available in a pre-release version. To install a Teams Toolkit pre-release 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.

Install Teams Toolkit for Visual Studio

Important

It's recommend you use Visual Studio 2022 version 17.4.1 or later for Teams Toolkit. It 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 you've already installed Visual Studio.

    Visual Studio installer shows all workloads, whether installed or available for installation.

    Screenshot shows how to install Visual studio.

    Select the following options to install Teams Toolkit:

    1. Select the Workloads tab, then select the ASP.NET and web development workload.
    2. On the right, select the Microsoft Teams development tools in the Optional section of the Installation details panel.
    3. Select Install.
  3. After the installation completes, select Launch to open Visual Studio.

    Screenshot shows how to launch visual studio.

Teams Toolkit menu options are available in Visual Studio only when an app project created using Teams Toolkit is open.

A screenshot showing Teams Toolkit menu options.

Next steps

See also