NAPE - Not Another Policy Engine Help

3rd - Install Binaries

Now that you have build the executable binaries from the nape and nape-evaluator source code, let's install it all.

Given what type of machine you have, and the privileges you have on your machine, the following should work.

It is recommened that you install the NAPE Evaluator CLI first, then install the NAPE CLI. Why? Because the NAPE CLI depends upon the NAPE Evaluator CLI to work. If you install them visa-versa, nothing will break and you will not have any problems. You simply need the NAPE Evaluator CLI installed so you can use the NAPE CLI

NAPE-Evaluator CLI

  1. Navigate your way into the nape-evaluator directory from your nape project directory.

    While in then nape-evaluator directory, run the command:

    make pip-install

    You will see a lot of activity happen. The NAPE-Evaluator is installed correctly when you see the following message:

    NAPE Evaluator - PIP Installation - COMPLETE!

    You can now run the cli by using the following command:

    nape-eval
  2. To verify the installation, run the command:

    nape-eval --check-install

    You should be a message that looks something like this:

    NAPE Evaluator CLI is installed and working.
  3. The NAPE-Evaluator is now installed successfully!

NAPE CLI

  1. Navigate your way into the nape directory from your nape project directory.

    While in then nape directory, run the below command. You will need to do this with elevated privileges because it installed the binary into your /usr/local/bin directory.

    sudo make install

    You will see a lot of activity happen. The NAPE CLI is installed correctly when you see the following message:

    Copying COMPLETE!

    You can now run the cli by using the following command:

    nape
  2. To verify the installation, run the command:

    nape --version

    You should be a message that looks something like this:

    NAPE CLI 1.0.0
  3. The NAPE CLI is now installed successfully!

Finally, Get Using NAPE!

Now that everything is installed correctly, get started using your new NAPE tools by checking out:

Last modified: 06 September 2024