curl -fsSL https://raw.githubusercontent.com/typeless/putup/main/install.sh | shOptions:
PUTUP_VERSION=v0.1.0— install a specific versionPUTUP_INSTALL_DIR=/usr/local/bin— install to a custom directory (default:~/.local/bin)
- C++20 compiler: GCC 11+ or Clang 14+
git clone <repository-url>
cd putup
make
sudo install build/putup /usr/local/bin/Putup is self-hosting (it builds itself with its own Tupfiles). Bootstrap scripts are provided for initial installation on a system without putup:
./bootstrap-linux.sh # Linux
./bootstrap-macos.sh # macOS
./bootstrap-mingw.sh # Windows (MSYS2/MinGW)After making changes to the build, regenerate the scripts with:
putup show script -B build > bootstrap-linux.sh
CONFIG=macosx putup show script -B build > bootstrap-macos.sh
CONFIG=mingw putup show script -B build > bootstrap-mingw.sh