Run, check and debug standalone AngelScript scripts from the terminal, the way you run Python or Node. One small program with files, strings, dates and TCP sockets built in.
| System | Command |
|---|---|
| Windows | Download angelscript-cli-<version>-windows-x64-setup.exe from Releases and run it. |
| macOS | Download angelscript-cli-<version>-macos-arm64.pkg (Apple silicon) or -macos-x64.pkg (Intel) from Releases and open it. |
| Linux (Debian, Ubuntu) | Download angelscript-cli-<version>-linux-x64.deb from Releases, then run sudo apt install ./angelscript-cli-<version>-linux-x64.deb in that folder. |
Without administrator rights, run one of these. The script replaces an earlier install in the same folder and warns when another copy elsewhere in PATH would hide it. Set ANGELSCRIPT_CLI_REMOVE_OTHERS=1 first to remove those copies too. The Windows setup lists earlier installs on its own page and removes the ones you leave checked.
PowerShell on Windows:
irm https://raw.githubusercontent.com/angelscript-tools/angelscript-cli/main/scripts/install.ps1 | iexShell on Linux and macOS:
curl -fsSL https://raw.githubusercontent.com/angelscript-tools/angelscript-cli/main/scripts/install.sh | shOpen a new terminal and run asc --version. The setup steps, the other architectures and the installer options are in docs/INSTALL.md.
Every script lives in examples/. asc --check script.as compiles without running.
Files: write, read, list and delete.
Arguments and exit codes: main() returns the process code.
TCP sockets: a client and a server in one script.
Strings: split, join, search and format.
No editor needed: any terminal runs them.
- Install the AngelScript extension and open a
.asfile. - Press F5. With no
launch.json, the extension runs the open file withasc. - To debug, run
asc --dap-port 9002 script.asand attach.
To set the run up yourself, add this to configurations in .vscode/launch.json:
{
"type": "angelscript",
"request": "launch",
"name": "Run script",
"program": "${file}"
}The editor stub, the debug configuration and the command list are in docs/REFERENCE.md.
git clone https://github.com/angelscript-tools/angelscript-cli.git
cd angelscript-cli
git submodule update --init
cmake --preset windows-x64
cmake --build --preset windows-x64
ctest --preset windows-x64Presets: windows-x64, windows-x86, linux-x64, linux-x86, linux-arm64, macos. The optional JIT, ahead-of-time libraries and other AngelScript releases are in docs/BUILDING.md.
- Install — the Windows setup step by step, packages and scripts.
- Reference — commands, exit codes, VS Code, debugging and editor support.
- Addons — install native libraries with
asc addon install, load them with--addonoras.json, and write your own. - Building — build from source, JIT, AOT and other AngelScript releases.
- Engine versions — what each release supports.
- Recording the captures — how the images are made.
- CHANGELOG.md — release history.
- Package management for AngelScript releases.
- JIT builds on every target, including AOT on 32-bit and macOS.
The plan and how it compares with the other AngelScript JITs are in docs/ROADMAP.md.
Open an issue for the command line program, the installers and the engine versions. Include the output of angelscript --version, your operating system and a short script that reproduces the problem. Debugger problems go to angelscript-dap, and editor problems to angelscript-lsp. To help, read CONTRIBUTING.md.
| Project | Use |
|---|---|
| angelscript-lsp | Editor support for VS Code |
| angelscript-mcp | MCP server so AI agents check and navigate scripts |
| angelscript-agent-kit | Skill and one-step installs for Claude Code, Codex, Gemini CLI and Antigravity |
| angelscript-dap | The debugger core behind --dap-port |
| angelscript-debugger-example | A host that shows how to use the debugger |
| angelscript-jit | Optional JIT compiler |
| angelscript-engine | Support for older AngelScript releases |
| tree-sitter-angelscript | Tree-sitter grammar the language server uses |
| angelscript-api-dumper | Writes .as.predefined stubs from a running engine |
- sashi0034/angel-lsp: another AngelScript language server, with host stubs.
- asumagic/angelsea: the JIT that angelscript-jit forks.
AngelScript CLI runs on the work of these projects. Their licenses are reproduced in THIRD_PARTY_NOTICES.md and ship with every package.
| Project | License | Use |
|---|---|---|
| AngelScript by Andreas Jönsson | zlib | The language and its runtime |
| angelscript-dap | MIT | Debug Adapter Protocol core |
| cppdap | Apache-2.0 | Debug Adapter Protocol library |
| nlohmann/json | MIT | JSON, through cppdap |
This repository is licensed under the MIT License.







