Iron is a CLI tool that helps students of Ironlabs scaffold the project and focus on the core learning while abiding the bootstrap process.
Homepage: ironlabs.dev
Iron CLI is available for Linux, macOS, and Windows. Choose your preferred installation method below.
curl -fsSL https://raw.githubusercontent.com/ironlabsdev/iron/main/install.sh | bashThis script will:
- Detect your operating system and architecture
- Download the latest version
- Install to
/usr/local/bin(with sudo) or~/.local/bin(without sudo) - Automatically add to your PATH if needed
brew install ironlabsdev/tap/ironThis is the recommended method for macOS and Linux users who have Homebrew installed.
Download the latest release for your platform from GitHub Releases:
| Platform | Architecture | Download |
|---|---|---|
| Linux | x86_64 | iron-linux-x86_64.tar.gz |
| Linux | ARM64 | iron-linux-arm64.tar.gz |
| macOS | x86_64 (Intel) | iron-mac-x86_64.tar.gz |
| macOS | ARM64 (Apple Silicon) | iron-mac-arm64.tar.gz |
| Windows | x86_64 | iron-windows-x86_64.zip |
| Windows | ARM64 | iron-windows-arm64.zip |
# Download and extract (replace URL with your platform)
curl -LO https://github.com/ironlabsdev/iron/releases/latest/download/iron-linux-x86_64.tar.gz
tar -xzf iron-linux-x86_64.tar.gz
# Move to a directory in your PATH
sudo mv iron /usr/local/bin/
# or for user-only installation:
# mv iron ~/.local/bin/
# Make executable
chmod +x /usr/local/bin/iron- Download the
.zipfile for your architecture - Extract the
iron.exefile - Place it in a directory that's in your PATH, or add the directory to your PATH
# Download the .deb package
curl -LO https://github.com/ironlabsdev/iron/releases/latest/download/iron_linux_amd64.deb
# Install with dpkg
sudo dpkg -i iron_linux_amd64.deb
# Or install with apt (resolves dependencies)
sudo apt install ./iron_linux_amd64.deb# Download the .rpm package
curl -LO https://github.com/ironlabsdev/iron/releases/latest/download/iron_linux_amd64.rpm
# Install with rpm
sudo rpm -i iron_linux_amd64.rpm
# Or install with dnf/yum (resolves dependencies)
sudo dnf install ./iron_linux_amd64.rpm# Download the .apk package
curl -LO https://github.com/ironlabsdev/iron/releases/latest/download/iron_linux_amd64.apk
# Install with apk
sudo apk add --allow-untrusted ./iron_linux_amd64.apkAfter installation, verify that Iron CLI is working:
iron --versionYou should see output similar to:
Iron CLI v1.0.0
Build Date: 2025-01-XX
Git Commit: abc1234
Go Version: go1.24.2
Platform: linux/amd64
Once installed, you can start using Iron CLI:
# See available commands
iron --help
# Generate a new OAuth project
iron generate oauth my-project
# Get help for a specific command
iron generate --helpIf you get a "command not found" error after installation:
-
Check if the binary is in your PATH:
which iron
-
Add to PATH manually (if using
~/.local/bin):# For bash users echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc source ~/.bashrc # For zsh users echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc source ~/.zshrc
-
Restart your terminal or run
source ~/.bashrc(or~/.zshrc)
If you get permission errors:
# Make the binary executable
chmod +x /path/to/iron
# Or reinstall with proper permissions
sudo chown $(whoami) /usr/local/bin/iron
sudo chmod +x /usr/local/bin/ironOn macOS, you might see a security warning about an unidentified developer:
- Go to System Preferences β Security & Privacy
- Click "Allow Anyway" next to the Iron CLI warning
- Or run:
sudo xattr -rd com.apple.quarantine /usr/local/bin/iron
To remove Iron CLI:
# Remove the binary
sudo rm /usr/local/bin/iron
# or
rm ~/.local/bin/iron
# For package manager installations:
# Debian/Ubuntu: sudo apt remove iron
# RedHat/CentOS/Fedora: sudo dnf remove iron
# Alpine: sudo apk del iron- π Documentation: Check our GitHub repository
- π Issues: Report bugs on GitHub Issues
- π¬ Discussions: Join the conversation on GitHub Discussions