Skip to content

Releases

Monkey C (latest)

Choose a tag to compare

@github-actions github-actions released this 23 Nov 23:31

Monkey C — latest build

Language support and tooling for Garmin Connect IQ Monkey C and Jungle.

Install

One command installs everything (CLI into ~/.local/bin, VS Code extension
via code --install-extension, Zed extension source into
~/.local/share/monkey/zed-extension):

bash <(curl -fsSL https://raw.githubusercontent.com/hieudoanm/monkey/master/scripts/install.sh)          # all three
bash <(curl -fsSL https://raw.githubusercontent.com/hieudoanm/monkey/master/scripts/install.sh) --cli-only
bash <(curl -fsSL https://raw.githubusercontent.com/hieudoanm/monkey/master/scripts/install.sh) --editor-only
bash <(curl -fsSL https://raw.githubusercontent.com/hieudoanm/monkey/master/scripts/install.sh) --zed-only

Or install each piece manually from the assets below:

CLI: download the cli-monkey-* binary for your platform and put it on
your PATH (e.g. ~/.local/bin). monkey doctor verifies your SDK, developer
key, and project setup.

VS Code: download extension-vscode-monkey-c.vsix and install via
Extensions → Install from VSIX. Lint diagnostics require the monkey CLI
on PATH (configurable via monkeyC.cliPath).

Zed: the extension is declarative — clone the repo and run
./scripts/install.sh inside packages/extensions/zed, or use the
extension-zed-monkey-c.tar.gz asset as a source snapshot. The lint/check tasks
also need the monkey CLI on PATH.

JetBrains: download extension-jetbrains-monkey-c-<version>.zip and install
via Settings → Plugins → Install Plugin from Disk. File types, syntax
highlighting, lint inspections, formatting, and CLI actions; needs the monkey
CLI on PATH.

What's in this release

  • monkey — standalone CLI for *.mc/*.jungle files. Subcommands:
    format, lint, check, parse, tokens, doctor, sdk, device,
    project, new, test, build, and run, plus mcp and lsp stdio
    servers for agent/editor integrations.
    • MCP tools for lint/parse/format/project/SDK/device.
    • LSP diagnostics, document symbols, hover, definition, references,
      completion, formatting, project-wide rename (receiver-aware for
      this./super./typed receivers, enum-member owner checks), signature
      help, and member completion backed by the SDK's Toybox API database
      (including method return types).
    • monkey.jungle lint.* keys configure rules.
    • MCP also exposes build/run tools.
    • monkey test --run --device all iterates manifest products.
    • JSON/SARIF output for CI, --stdin modes, monkey-ignore suppression
      comments, Connect IQ SDK / developer-key / device discovery.
    • PRG builds + simulator launches via the official SDK.
    • Prebuilt binaries for Linux (x86_64), macOS (Apple Silicon), and Windows
      (x86_64) are attached below.
  • extension-vscode-monkey-c.vsix — VS Code extension with syntax highlighting,
    document formatting, inline lint diagnostics (persistent monkey lint --serve process),
    a dark theme, file icons, and a runtime-preview command.
  • extension-zed-monkey-c.tar.gz — Zed extension source (Tree-sitter languages,
    formatter, lint/check tasks, theme, icon theme). Install via zed: install
    from a local checkout or the extension registry.
  • extension-jetbrains-monkey-c-<version>.zip — JetBrains IDE plugin
    (IntelliJ Platform): Monkey C/Jungle file types, syntax highlighting, lint
    inspections via monkey lint, document formatting, and build/run/test/export
    actions. Install from disk in any JetBrains IDE 2024.3+.
  • Companion Zed extension lives in the same repo.

Build from source

cd crates && cargo build --release   # binary: crates/target/release/monkey

Documentation