Installation¶
Get up and running with run-kit in minutes. Choose the installation method that works best for your system.
Prerequisites¶
Before installing run, ensure you have:
- A terminal or command prompt
- An internet connection (for downloading)
- Administrator/root access (for some installation methods)
Language Toolchains
run shells out to real language toolchains. To execute code in a specific language, you need that language's runtime or compiler installed (e.g., python3, node, rustc, go, etc.).
Installing language toolchains¶
run does not install language runtimes for you. Install the runtime or compiler for each language you want to use (e.g. Python, Node.js, Go). See the Supported Languages page for quick install commands per language and platform.
Installation Methods¶
Cargo (Recommended)¶
If you have Rust installed, this is the simplest method:
This includes WASI component support. See Run 2.0 docs for details.
This will download, compile, and install run from crates.io.
Verify the installation:
Homebrew (macOS)¶
Formula name
Homebrew already has a run formula for a different project, so this tool is published as run-kit. It still installs the run binary.
Verify the installation:
Debian / Ubuntu (APT)¶
sudo install -d /usr/share/keyrings
sudo curl -fsSL https://run-apt.github.io/run-apt/run-archive-keyring.gpg \
-o /usr/share/keyrings/run-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/run-archive-keyring.gpg] https://run-apt.github.io/run-apt stable main" \
| sudo tee /etc/apt/sources.list.d/run.list
sudo apt update
sudo apt install run
Verify the installation:
Windows (Winget)¶
If Winget can't find it yet
The Winget PR is in review. Until it lands, use the Scoop method below.
Verify the installation:
Windows (Scoop)¶
For Windows users with Scoop:
Verify the installation:
Install Script (macOS / Linux)¶
Use the automated install script:
curl -fsSLO https://raw.githubusercontent.com/esubaalew/run/master/scripts/install.sh
chmod +x install.sh
./install.sh --add-path
Verify the installation:
Manual Download¶
Download pre-built binaries directly from GitHub:
- Go to the Releases page
- Download the appropriate archive for your system:
run-*-x86_64-apple-darwin.tar.gzfor macOSrun-*-x86_64-unknown-linux-gnu.tar.gzfor Linuxrun-*-x86_64-pc-windows-msvc.zipfor Windows- Extract the archive
- Move the
runbinary to a directory in yourPATH
Example for Linux/macOS:
Verify the installation:
Build from Source¶
For the latest development version or to contribute: