Skip to main content

Getting Started

Installation

CLI

The command line interface is a single binary that generates code from Apex documents. While it uses TypeScript for code generation, Node.js is not required. The Apex CLI is installed from the terminal/command prompt by executing the command below.

curl -fsSL https://apexlang.io/install.sh | /bin/bash

The scripts download the latest release and copies the binary into your PATH. You can also install manually from releases or build from source from this GitHub repo.

VS Code extension

Installing this extension is recommended but not required. It enables the following features while editing Apex documents:

  • Syntax highlighting
  • Completions
  • Parsing and validation checks
  • Go to definition

Search for apexlang in the extension marketplace and click "Install". You can also build from source from this GitHub repo.

VS Code extension

Alternatively, if code is in your PATH, you can also install by executing this command from a terminal.

code --install-extension apexlang.apexlang

Next steps

Now your environment is supercharged for cloud-native application development!