2201.2.1 (Swan Lake Update 2)

If you are new to Ballerina, download the relevant Ballerina distribution based on your operating system and install it.

Other installation options

Install via Homebrew (for macOS)
Install via the ZIP archive
Install from source

To verify that Ballerina was successfully installed, execute the bal version command in the Terminal/Shell. For more information on installing Ballerina, see Installation options.

Visual Studio Code extension

Next, install the Ballerina Visual Studio Code extension from the VS Code marketplace.

Visual Studio Code

Ballerina extension

Now, you are all set to get started with Ballerina.