Skip to content

Platforms

SlopCode ships with native packages, release binaries, and platform-specific fallbacks for a few terminals.


Install

Use the channel that best matches your machine.

Terminal window
# npm or Bun
npm install -g slopcode
bun install -g slopcode
# macOS
brew install slopcode
port install slopcode
# Windows
winget install slopcode
# Linux and BSD
curl -fsSL https://teamslop.github.io/apt-slopcode/install.sh | sudo bash
curl -fsSL https://teamslop.github.io/rpm-slopcode/install.sh | sudo bash
curl -fsSL https://teamslop.github.io/apk-slopcode/install.sh | sudo sh
paru -S slopcode-bin
pkg install slopcode
sudo snap install slopcode
nix profile install github:teamslop/slopcode

The RPM install script configures the SlopCode repo and then uses zypper, dnf, or yum, depending on the host.

If you prefer manual installs, download a release binary from GitHub and place it on your PATH.


Run in Docker

Use the container image when you want a disposable shell with SlopCode already installed.

Terminal window
docker run -it --rm ghcr.io/teamslop/slopcode

Mount your project when you want SlopCode to work on local files.

Terminal window
docker run -it --rm -v "$PWD:/workspace" -w /workspace ghcr.io/teamslop/slopcode

Upgrade

slopcode upgrade can follow the same install method you started with.

Use --method when auto-detection is wrong or when you manage installs through a wrapper.

Terminal window
slopcode upgrade --method brew
slopcode upgrade --method winget

Run on Android

CLI and server commands run natively in Termux on arm64 and x64.

Install the runtime dependencies first, then install the npm package with optional dependencies enabled.

Terminal window
pkg update
pkg install nodejs git ripgrep neovim
npm install -g slopcode@latest --include=optional

Use the TUI carefully

Bun for Android still disables bun:ffi, so the native OpenTUI renderer cannot start there yet.

SlopCode falls back to its bundled portable Termux client, or you can run the full TUI inside proot-distro.


Attach remotely

Another solid Android setup is running slopcode serve or slopcode web in Termux and attaching from another machine.

This keeps the backend close to your files while giving you the full desktop TUI elsewhere.