This topic tells you how to install IDE extensions in your air-gapped environment.
To install VS Code or IntelliJ extensions in an air-gapped environment, you cannot use IDE’s built-in UI, because it downloads and install extensions directly from VS Code or IntelliJ Marketplace.
The following are high-level steps to install IDE extensions in your air-gapped environment:
Follow these steps to retrieve the .vsix
archive and install VS Code in your air-gapped environment:
Find the extension you want to install on VS Code Marketplace. For example:
In a column on the right side of the screen, under Resources, click the Download Extension link.
A file called vmware.tanzu-dev-tools-${version}.vsix
is downloaded.
Save the file to a location that is accessible from your air-gapped environment. For example, a USB drive.
Repeat these steps for all extensions you want to install, including any dependencies.
For example, Tanzu Developer Tools for VS Code requires all of the following extensions as dependencies:
The Application Accelerator extension, on the other hand, does not require additional dependencies.
In your air-gapped environment, install VS Code extensions as follows:
You can script this step by using commands such as:
code --install-extension ${path_to_vsix_file}
Follow these steps to retrieve the .zip
archive and install IntelliJ in your air-gapped environment:
Find the extension you want to install on Jetbrains Marketplace. For example, Tanzu Developer Tools for IntelliJ.
Click Get near the top-right of the screen.
Find the version you want to download and click the Download link.
A file called Tanzu_Developer_Tools-${version}.zip
is downloaded.
Save the file to a location that is accessible from your air-gapped environment. For example, a USB drive.
Repeat these steps for all extensions you want to install.
Follow the instructions in the IntelliJ documentation to install IntelliJ.