Skip to main content

Installation

In this section you will install the Wing toolchain on your system.

The toolchain includes three tools:

  1. Wing CLI - the compiler toolchain
  2. Wing VSCode Extension - IDE support for Wing
  3. Wing Console - a desktop app for interacting with your Wing programs.

Prerequisites

To install Wing, you will need the following setup:

In order to deploy to AWS, you will also need:

Wing CLI


!Caution If you were in our closed alpha

If you installed Wing as part of our closed alpha, please make sure to uninstall the existing version and clean up your ~/.npmrc before continuing. Otherwise you will see the following error when trying to install winglang:

Not Found - GET https://npm.pkg.github.com/@winglang%2fsdk

First, uninstall Wing from your system:

npm uninstall -g @winglang/wing

Now, edit ~/.npmrc and remove this line:

@winglang:registry=https://npm.pkg.github.com/

You can also just delete ~/.npmrc if there are no other registries that you are signed into.


Install the Wing CLI through npm:
npm install -g winglang

Check that the installation was successful:

wing --version

Wing IDE Extension

This extension adds syntax highlighting and other conveniences for the Wing language in VSCode. You don't have to use it, but it's great. It's available through the VSCode Marketplace.

Wing Console

Wing Console doesn't support Linux yet

Click 👍 on this issue to indicate that you are looking for Linux support.

The Wing Console is a desktop application that allows you to interact with your Wing applications running locally on the cloud simulator.

  1. Download the latest version of the Wing Console:
  2. Accept the license agreement.
  3. In macOS: drag the Wing Console app into Applications

Drag the Wing Console app into Applications