git clone https://github.com/ninja-build/ninja.git cd ninja ./configure.py --bootstrap mv ninja "$1"/usr/bin