Install and update VS Code and the EI extension

To create and debug EI Data Logic, install the Microsoft Visual Studio Code (VS Code) app on your computer, and then install the EI extension.

Install the VS Code app

  1. Download and install the VS Code app on your computer.
  2. Make sure you have "Asset Management" permissions in EI. See Manage user access.

Install the EI extension for VS Code

Install the EI extension within the VS Code app (recommended).

  1. Open the VS Code app on your computer.
  2. In the left-side pane, click the Extensions icon Extensions icon.
  3. Search for the "Cisco Edge Intelligence" extension.
  4. Follow the prompts to install the extension.
  5. Once installed, "CISCO EI" appears in the explorer bar.

Alternative method

You can also download and install the EI extension .vsix file.

  1. Download the .vsix extension file from the Visual Studio Marketplace.
  2. Install the extension file in VS Code.
    1. Download, install and open VS Code on your computer.
    2. In the left-side pane, click the Extensions icon Extensions icon.
    3. Select More More icon > Install from VSIX…
    4. Select the .vsix extension file from your computer.
    5. Click Install.
    6. Once installed, "CISCO EI" appears in the explorer bar.

Tip: Do not double-click the .vsix extension file if Microsoft Visual Studio is installed, or an error message will appear. Install the file in VS Code instead, as described above.

Update the EI extension

To install a newer version of EI, uninstall the existing version and install the new version.

  1. In the left-side pane, click the Extensions icon Extensions icon.
  2. Click Cisco Edge Intelligence and select Update.
  3. Reload the Visual Studio Code, if prompted.

Alternative method

You can also uninstall the EI extension, and then reinstall it from the the Visual Studio Marketplace.

  1. In the left-side pane, click the Extensions icon Extensions icon.
  2. Click Cisco Edge Intelligence and select Uninstall.
  3. Download the .vsix extension file from the Visual Studio Marketplace.
  4. Select More > Install from VSIX…