---
title: 安装Ninja
description: "1. 下载Ninja安装包。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengwebs/ecosystemEnable/DependencyLibrary/kunpengconscryptopenjdkuber_02_0016.html
sourcePath: /source/zh/kunpengwebs/ecosystemEnable/DependencyLibrary/kunpengconscryptopenjdkuber_02_0016.html
indexId: 40d2e4b718502fe6c72611ed3881a5f2f31b26edaece709ce95b90ce541044f097
---
# 安装Ninja

1. 下载Ninja安装包。
  1 2 cd /home wget https://github.com/ninja-build/ninja/archive/v1.10.0.zip --no-check-certificate

2. 解压安装包。
  1 unzip v1.10.0.zip

3. 编译Ninja。
  1 2 cd ninja-1.10.0 ./configure.py --bootstrap

4. 生效Ninja。
  1 cp ninja /usr/bin

5. 查看版本。
  1 ninja --version
