In this section you will install the Wing toolchain on your system.
The toolchain includes three tools:
- Wing CLI - the compiler toolchain
- Wing VSCode Extension - IDE support for Wing
- Wing Console - a desktop app for interacting with your Wing programs.
To install Wing, you will need the following setup:
- Node.js (v18 or later)
- We recommend volta to manage node tools
- Not required, but currently supported with an extension
In order to deploy to AWS, you will also need:
- AWS account and the AWS CLI with AWS credentials
!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
Not Found - GET https://npm.pkg.github.com/@winglang%2fsdk
First, uninstall Wing from your system:
npm uninstall -g @winglang/wing
~/.npmrc and remove this line:
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 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.
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.
- Download the latest version of the Wing Console for macOS, macOS arm64 or windows
- Accept the license agreement.
- In macOS: drag the Wing Console app into Applications