Installation
Beamtalk is distributed as a pre-built binary for Linux, macOS, and Windows, plus a VS Code extension for the integrated development experience.
Requirements
- Erlang/OTP 28+ — the BEAM runtime that Beamtalk compiles to. The supported
window is OTP 28–29 (
otp-support.toml); newer majors run but are untested, and OTP 27 or older cannot load Beamtalk's compiled runtime.- macOS:
brew install erlang - Ubuntu/Debian:
sudo apt install erlang - Windows: download from erlang.org/downloads
- Any platform via asdf:
asdf plugin add erlang && asdf install erlang 29.0
- macOS:
- VS Code 1.85+ — required for the extension (optional for CLI-only use).
Quick install (Linux and macOS)
The easiest way to install Beamtalk is with the install script:
curl -fsSL https://beamtalk.dev/install.sh | sh
This downloads the latest release for your platform, extracts it to
~/.beamtalk, and prints the line to add ~/.beamtalk/bin to your shell profile
if it is not already on your PATH (it does not edit the profile itself).
To install a specific version or custom location:
curl -fsSL https://beamtalk.dev/install.sh | sh -s -- --version v0.6.0
curl -fsSL https://beamtalk.dev/install.sh | sh -s -- --prefix /usr/local
For CI or development against the latest unreleased code:
curl -fsSL https://beamtalk.dev/install.sh | sh -s -- --nightly # last nightly build
curl -fsSL https://beamtalk.dev/install.sh | sh -s -- --edge # latest main commit (linux-x86_64, macos-arm64)
The --edge channel (BEAMTALK_EDGE=1 environment equivalent) installs the rolling build of the latest main commit, so downstream package CI can test against the current tip without waiting for a nightly. Edge is built for linux-x86_64 and macos-arm64 only; on any other target (macos-x86_64, Windows) the installer stops with "edge is not built for --nightly there.
The installer verifies the archive's SHA-256 against the .sha256 file published with each release and stops if that file cannot be fetched or does not match. Pass --insecure-skip-checksum only if you accept installing an unverified archive. Each install replaces the previous one, so files a newer release dropped do not linger, and --uninstall (with the same --prefix) removes it:
curl -fsSL https://beamtalk.dev/install.sh | sh -s -- --uninstall
Manual install from release archive
Download the latest release for your platform from the GitHub Releases page.
Linux
beamtalk-<version>-linux-x86_64.tar.gz
Extract and add to your PATH:
tar xzf beamtalk-<version>-linux-x86_64.tar.gz
export PATH="$HOME/beamtalk-<version>/bin:$PATH"
macOS
beamtalk-<version>-macos-arm64.tar.gz # Apple Silicon
beamtalk-<version>-macos-x86_64.tar.gz # Intel
Extract and add to your PATH:
tar xzf beamtalk-<version>-macos-<arch>.tar.gz
export PATH="$HOME/beamtalk-<version>/bin:$PATH"
Windows
beamtalk-<version>-windows-x86_64.zip
Extract the zip, then add the bin\ directory to your PATH via
System Properties → Environment Variables → Path → Edit,
adding C:\Users\<you>\beamtalk-<version>\bin.
Verify
beamtalk --version
beamtalk doctor
The doctor command checks all prerequisites (Erlang/OTP version, erlc,
runtime, stdlib) and prints actionable fix instructions for any problems.
VS Code extension
The Beamtalk VS Code extension provides syntax highlighting, an integrated REPL, live workspace bindings panel, and inline documentation.
- Open VS Code and go to the Extensions panel (
Ctrl+Shift+X). - Search for Beamtalk and click Install.
- Reload the window when prompted.
Alternatively, install the .vsix from the
GitHub Releases page:
code --install-extension beamtalk-vscode-<version>.vsix
Once installed, open any .bt file to activate the extension.
The status bar will show the Beamtalk workspace connection status.
Quick start
Create a new project:
beamtalk new my_project
cd my_project
This sets up the standard project file structure. Package names use lowercase
letters, digits and underscores only: beamtalk new my-project is rejected.
Then start the REPL:
beamtalk repl
Or open the project folder in VS Code — the extension will start a workspace automatically.
See Language Features for a tour of the language.
Troubleshooting
If beamtalk repl or beamtalk build fails with cryptic errors, run:
beamtalk doctor
This checks your environment and reports any issues with clear instructions on how to fix them. Common problems:
- Wrong OTP version — Beamtalk requires Erlang/OTP 28 or later. On an older
OTP,
beamtalk doctorreportsErlang/OTP 27 is unsupported — Beamtalk needs OTP 28+, andbeamtalk build,replandrunstop with the same message. Upgrade Erlang. - Missing
erlc— usually installed alongsideerl; reinstall Erlang if missing. - Missing stdlib (development) — run
just buildfrom the repository root. - Missing stdlib (installed) — reinstall Beamtalk via the install script or set
BEAMTALK_RUNTIME_DIRto point to a valid sysroot.