Skip to content

Build Resonon from Source

If you want to make changes to the core source code of resonon or have other reasons for not using the official installers, you can build and install from source.

  • macOS — the build and install process is macOS-only (it codesigns the binaries and symlinks them into /usr/local/bin).
  • Rust toolchain — install via rustup. A recent stable toolchain is required.
  • Node.js + npm — only needed to build the VS Code extension.

Clone the repository and run the install target:

Terminal window
git clone https://github.com/WARNS-AUDIO/RESONON.git
cd RESONON
make install

make install performs the full pipeline:

  1. Builds the resonon binary (release, with built-in devices).
  2. Builds the resonon-lsp language server and the resonon-shim launcher.
  3. Installs them under ~/.resonon/versions/<version>+dev/ — the workspace version plus +dev, replacing any earlier local build.
  4. Copies the bundled sample kits and the standard library alongside them.
  5. Codesigns the binaries and makes this build the default, which also puts the launcher in ~/.resonon/bin/.
  6. Links resonon and resonon-lsp in /usr/local/bin to the launcher (this step uses sudo).

The local build is named by the version it really is, so a project pinned to that minor runs it, and a project pinned to another installed version runs that one — the launcher chooses exactly as it does for releases. To run the local build on a project pinned elsewhere, run the binary by path (~/.resonon/versions/<version>+dev/bin/resonon).

When it finishes, verify the install:

Terminal window
resonon --version
resonon version current

To add a published version beside it, use resonon version install <version>.

To build and install the extension from source:

Terminal window
make install-ext

If you just want to compile the binaries (for development or CI) without installing them system-wide, use cargo directly:

Terminal window
cargo build --release --bin resonon
cargo build --release -p resonon-lsp

Built-in devices are linked into the binary. No plugin staging is needed to build it.

The binaries land in target/release/.

The full suite stages bundles for explicit bundle-contract tests. Ordinary built-in tests use the static factory:

Terminal window
./scripts/ci.sh test