logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt
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/ninja
or

Install via npx

npx @hexmos/ipm i ninja-build/ninja

Prerequisites

asciidoc

knowledge

xsltproc

knowledge

Python

language

Version: >=3.8

GoogleTest

package_manager

CMake

build_tool

doxygen

knowledge

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Debian/Ubuntu Linux

sudo apt-get install -y ninja-build

macOS (Homebrew)

brew install ninja

Windows (Chocolatey)

choco install ninja -y

Fedora Linux

sudo dnf install -y ninja-build

Python (PyPI)

pip install ninja

Source Bootstrap

git clone https://github.com/ninja-build/ninja.git

cd ninja && python3 configure.py --bootstrap

CMake Build

git clone https://github.com/ninja-build/ninja.git

cd ninja && cmake -Bbuild-cmake -H. && cmake --build build-cmake

Post 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`