How to install ninja-build/ninja. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
ninja-build/ninja Installation Guide
How to install ninja-build/ninja. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for ninja-build/ninja. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i ninja-build/ninjaor
Install via npx
npx @hexmos/ipm i ninja-build/ninjaPrerequisites
asciidoc
knowledgexsltproc
knowledgePython
languageVersion: >=3.8
GoogleTest
package_managerCMake
build_tooldoxygen
knowledgeManual Installation Methods
Manual installation instructions. How to install from GitHub source.
Debian/Ubuntu Linux
sudo apt-get install -y ninja-buildmacOS (Homebrew)
brew install ninjaWindows (Chocolatey)
choco install ninja -yFedora Linux
sudo dnf install -y ninja-buildPython (PyPI)
pip install ninjaSource Bootstrap
git clone https://github.com/ninja-build/ninja.git
cd ninja && python3 configure.py --bootstrapCMake Build
git clone https://github.com/ninja-build/ninja.git
cd ninja && cmake -Bbuild-cmake -H. && cmake --build build-cmakePost Installation Steps
- Run the following command to start the Ninja build system: `./ninja -h` for help.
- To run the Ninja test suite, use the command: `./ninja_test`
