NAPE - Not Another Policy Engine Help

Install NAPE from Official NAPE Central Repo

The Official NAPE Binary Repository is our recommended approach for installing all the NAPE components. Learn how to install all of the NAPE components form the official binary repo for the supported operating systems and cpu architectures.

The Official NAPE Binary Repository

The Official NAPE Binary Repository is located at: https://repo.napecentral.com

To download a specific binary, you will need 3 pieces of information:

All binaries can be downloaded using the following scheme:

https://repo.napecentral.com/{NAPE-Component}/{Version}/{Operating-System}/{CPU-Architecture}/{Binary-Name}

  • NAPE-Component

    • nape-cli - NAPE CLI.

    • nape-evaluator - The NAPE Evaluator CLI

  • Version

  • Operating-System

  • CPU-Architecture

    • x86_64

    • aarch64

  • Binary-Name

    • NAPE CLI

      • For Linux and MacOS - nape

      • For Windows - nape.exe

NAPE CLI - Download and Install

Linux and MacOS Install

  1. Download the binary

    • Linux GNU - x86_64

      curl -o nape https://repo.napecentral.com/nape-cli/1.0.0/linux-gnu/x86_64/nape
    • MacOS - x86_64

      curl -o nape https://repo.napecentral.com/nape-cli/1.0.0/macos/x86_64/nape
    • MacOS - aarch64

      curl -o nape https://repo.napecentral.com/nape-cli/1.0.0/macos/aarch64/nape
  2. Make the Binary Executable

    chmod +x nape
  3. Move the Binary to a Directory in Your PATH

    sudo mv nape /usr/local/bin/
  4. Verify the Installation

    nape --version

    If installed correctly, you'll see the following as a response:

    NAPE CLI 1.0.0

Now that NAPE is installed, check out the Tutorials.

Last modified: 23 September 2024