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.
powershell -Command "iwr -useb https://apexlang.io/install.ps1 | iex"
curl -fsSL https://apexlang.io/install.sh | /bin/bash
wget -q https://apexlang.io/install.sh -O - | /bin/bash
brew install apexlang/tap/apex
VS Code extension
Installing this extension is recommended but not required. It enables the following features while editing Apex documents:
- Syntax highlighting
- Parsing and validation checks
- Go to definition
apexlang in the extension marketplace and click "Install". You can also build from source from this GitHub repo.
code is in your PATH, you can also install by executing this command from a terminal.
code --install-extension apexlang.apexlang
Now your environment is supercharged for cloud-native application development!