Forge is an interactive command-line tool that sets up a developer machine from a checklist of tools.
Setting up a new laptop or a fresh Linux install usually means hunting down install instructions for a dozen tools, each with its own repository, key and PATH line. Forge does that for you. It detects your operating system and Linux distribution, shows a checklist of 39 tools grouped by category, and installs only what you select.
Forge installs from official sources. Vendor installer scripts are pinned to a tag or commit and checked against a SHA-256 before they run, and several binary downloads are verified the same way. It can also show what is installed, and uninstall the tools it manages without touching things it did not install.
Forge is for developers on Linux, macOS or WSL who want a repeatable way to bootstrap a machine, either interactively or unattended (for example from a dotfiles script).
- Interactive checklist: A multi-select menu lists every tool with its description. Tools you already have are marked, and tools you are missing are preselected.
- OS and distro detection: Forge reads
/etc/os-release (or lsb_release) and picks the right package manager: apt, dnf, yum, pacman, zypper or Homebrew.
- Unattended mode:
forge --all installs everything with no prompts, and --skip leaves out tools you do not want.
- Status views:
forge list shows every tool by category with its install status and version. forge check splits tools into installed and missing.
- Safe uninstall: Forge only removes what it installed, simulates apt removals first, and never removes base-system tools with
--all.
- Verified installers: nvm, rustup, Helm, Starship, Oh My Zsh, rbenv and Docker's installer are pinned and hash-checked. The AWS CLI and eza binaries are pinned by SHA-256. Go, Gradle and Bun are checked against their official checksum files.
- Careful dotfile edits: PATH lines are added once and removed by exact match. Files are written atomically and keep their line endings and symlinks, so they work with stow or chezmoi.
- One sudo prompt: Forge asks for your
sudo password once, up front, and drops the cached credential when it exits.
curl -fsSL https://raw.githubusercontent.com/n1th1n-19/Forge/master/install.sh | bash
The script picks the right binary for your OS and CPU, verifies it against the release's SHA256SUMS file, and installs it to /usr/local/bin/forge. It uses sudo only if that folder is not writable by you. If no checksum is found for your binary, it refuses to install.
Prebuilt binaries are attached to each release on the releases page:
| Target |
Binary |
| Linux x86_64 |
forge-x86_64-unknown-linux-gnu |
| Linux aarch64 |
forge-aarch64-unknown-linux-gnu |
| macOS x86_64 |
forge-x86_64-apple-darwin |
| macOS Apple Silicon |
forge-aarch64-apple-darwin |
To verify a manual download:
curl -fsSLO https://github.com/n1th1n-19/Forge/releases/latest/download/SHA256SUMS
grep " forge-x86_64-unknown-linux-gnu$" SHA256SUMS | sha256sum -c - # macOS: shasum -a 256 -c -
You need Rust 1.88 or newer.
git clone https://github.com/n1th1n-19/Forge
cd Forge
cargo build --release --locked
sudo install -m 755 target/release/forge /usr/local/bin/forge
Run Forge as your normal user, not with sudo. If you run it as root, user-level tools (nvm, rustup, Oh My Zsh and so on) end up in root's home folder, and Forge warns you about this.
forge
- Forge prints a header with your detected OS and package manager.
- A checklist appears. A filled dot means a tool is already installed, an empty dot means it is not. Missing tools are selected by default.
- Press
Space to toggle a tool and Enter to confirm.
- Forge asks for your
sudo password once, refreshes the package index, then installs each selected tool with a spinner.
- Tools that are already installed are skipped and their version is shown. Some tools print a note after install (for example, Docker reminds you that the
docker group is root-equivalent and that you need to log out and back in).
- A summary lists what was installed, skipped or failed. One failure does not stop the rest.
On Arch and Manjaro, refreshing package lists means a full system upgrade, so Forge asks before it runs pacman -Syu. If you say no, it continues and suggests running sudo pacman -Syu yourself if installs fail.
forge --all
This is meant for CI or dotfiles bootstraps. With --all, the Arch full upgrade is skipped rather than asked about.
forge --skip go,rust,ruby
--skip takes a comma-separated list. Skipped tools are unselected in the checklist and also left out under --all. Names are matched against the tool name as shown by forge list, ignoring case, so use the full name. Names with spaces need quotes, for example --skip "docker + compose",terraform.
forge list # every tool, grouped by category, with status and version
forge check # installed tools with versions, then missing tools
forge uninstall go terraform # remove specific tools by name
forge uninstall # pick from a checklist of installed tools
forge uninstall --all # remove all managed tools (asks first)
uninstall --all lists what it will remove and asks for confirmation. It skips protected base-system tools (git, curl + wget, make + vim, Python 3); name those explicitly if you really want them gone. Tools that are not installed are reported as skipped.
forge self-uninstall
Forge asks for confirmation, then deletes its own binary (using sudo if the folder is root-owned). It refuses to delete a binary that lives inside a cargo target build folder.
Forge has no configuration file. Everything is controlled by command-line options:
| Command or option |
What it does |
forge |
Interactive install menu |
--all |
Install all tools without prompting |
--skip a,b,c |
Comma-separated tools to skip |
list |
List all tools and their install status |
check |
Show installed vs missing with versions |
uninstall [tools...] |
Uninstall named tools, or pick from a checklist |
uninstall --all |
Uninstall all managed, non-protected tools |
self-uninstall |
Remove the Forge binary |
--version, --help |
Show version or help |
These are all the tools Forge manages, in the order they appear in the checklist. The name column is what you pass to --skip and uninstall.
| Category |
Name |
Source |
| Core |
git |
distro package |
| Core |
curl + wget |
distro package |
| Core |
make + vim |
distro package |
| Editors |
VS Code |
packages.microsoft.com |
| Version control |
gh |
cli.github.com |
| Languages |
Node.js |
nvm |
| Languages |
Bun |
GitHub release, checksum-verified |
| Languages |
Python 3 |
distro package |
| Languages |
OpenJDK 21 |
distro package |
| Languages |
Go |
go.dev |
| Languages |
Rust |
rustup |
| Languages |
Ruby |
rbenv |
| Languages |
PHP (with Composer) |
distro package |
| DevOps and cloud |
Docker + Compose |
get.docker.com (distro packages on Arch and openSUSE) |
| DevOps and cloud |
AWS CLI v2 |
awscli.amazonaws.com |
| DevOps and cloud |
gcloud SDK |
packages.cloud.google.com |
| DevOps and cloud |
Terraform |
releases.hashicorp.com |
| CLI tools |
fzf + ripgrep + bat + eza |
distro package (eza from a GitHub release on older Debian and Ubuntu) |
| CLI tools |
jq + tree + htop |
distro package |
| CLI tools |
HTTPie |
distro package |
| CLI tools |
tmux |
distro package |
| Shell |
zsh |
distro package |
| Shell |
Oh My Zsh |
ohmyz.sh |
| Shell |
Starship |
starship.rs |
| Mobile |
Android Studio |
developer.android.com |
| Mobile |
Android Platform Tools |
developer.android.com |
| Mobile |
Flutter (with Dart) |
snap, or a stable git clone |
| Mobile |
React Native + Expo |
npm: @react-native-community/cli and eas-cli |
| Mobile |
Xcode CLI Tools |
macOS only, xcode-select --install |
| Mobile |
CocoaPods |
macOS only |
| Databases |
PostgreSQL client |
postgresql.org |
| Databases |
MySQL client |
dev.mysql.com |
| Databases |
mongosh |
mongodb.com |
| Databases |
redis-cli |
redis.io |
| Build and infra |
Maven |
maven.apache.org |
| Build and infra |
Gradle |
gradle.org |
| Build and infra |
CMake + Ninja |
cmake.org |
| Build and infra |
kubectl + Helm |
kubernetes.io |
| Build and infra |
Podman |
podman.io |
Forge is a single Rust binary. On start it detects the platform: macOS, Linux or WSL (WSL inherits the detected distro). On Linux it reads ID and ID_LIKE from /etc/os-release, so derivatives such as Pop!_OS or Mint are treated like their parent distro. If the distro is not recognized, Forge falls back to whichever of apt-get, dnf, pacman or zypper it finds.
Each tool is a small module that knows how to detect itself, read its version, install and uninstall. Most use the shared package-manager layer, which maps one install call to apt, dnf, yum, pacman, zypper or brew (with brew install --cask for macOS apps). Tools that come from vendors use either a pinned installer script (downloaded to a temp file, hash-checked, never piped into a shell) or a vendor repository.
Commands run with their output captured so the spinner stays clean, and on failure Forge shows the tail of the error output. A background sudo keepalive means you type your password once.
Uninstall is deliberately narrow. Forge only deletes paths it created (for example ~/.nvm, /usr/local/go, ~/.bun or its own /opt/gradle-<version>) and refuses otherwise. apt removals are simulated first and refused if they would remove other packages too.
Release binaries are built by GitHub Actions with SHA-pinned actions and --locked builds, published with a SHA256SUMS file, and CI runs cargo audit.
- Linux or macOS on x86_64 or aarch64, or WSL. Native Windows (including Git Bash) is not supported.
- A supported package manager:
| Platform |
Package manager |
| Ubuntu, Debian, Mint |
apt |
| Fedora |
dnf |
| RHEL, CentOS |
dnf, or yum if dnf is missing |
| Arch, Manjaro |
pacman |
| openSUSE |
zypper |
| macOS |
Homebrew (install it first from brew.sh) |
| WSL |
same as the Linux distro inside it |
sudo access for system packages.
curl for the one-line installer.
- Rust 1.88 or newer only if you build from source.
Problem: "unsupported platform: no supported package manager found". Forge could not map your OS to a package manager. On Windows, use WSL. On macOS, install Homebrew first.
Problem: user tools ended up in root's home. You ran sudo forge. Run forge as your normal user; it asks for sudo itself when needed.
Problem: installs fail on Arch. You declined the pacman -Syu prompt (or used --all, which skips it). Run sudo pacman -Syu and try again.
Problem: VS Code fails on Arch. Forge asks you to install snap first or use an AUR helper: yay -S visual-studio-code-bin.
Problem: "Xcode CLI Tools are macOS only" or "CocoaPods is macOS only". These two tools only install on macOS.
Problem: "Node.js / npm required" for React Native + Expo. Install Node.js first. In the same way, Oh My Zsh needs zsh installed first.
Problem: a tool says "remove it with the tool that installed it". Forge will not delete Node, Ruby, Go, Bun or Flutter if they are not where Forge puts them (for example Node not under ~/.nvm). Remove them with whatever installed them.
Problem: "zsh is your login shell". Switch shells first with chsh -s /bin/bash, then uninstall zsh.
Problem: "No matching tools found". The name must match the tool name from forge list, ignoring case. Quote names with spaces, for example forge uninstall "aws cli v2".
Problem: Docker works only with sudo after install. You were added to the docker group. Log out and back in to apply it. Note that this group is root-equivalent; rootless Docker is an alternative.
Problem: package index update failed. Forge warns and continues with the installs. Check your network or repository configuration if packages then fail.
Forge is released under the MIT License. It installs tools from their official sources, including nvm, rustup, rbenv, Oh My Zsh, Starship, Helm, Docker, HashiCorp, Google Cloud, AWS and Microsoft package repositories. Built with Rust using clap, dialoguer, indicatif, colored, which and anyhow.