Install PCL
This page explains how to install the Phylax Credible Layer (PCL) CLI
The PCL (Phylax Credible Layer) CLI is a command-line tool for interacting with the Phylax Credible Layer.
Prerequisites
Before installing PCL, ensure you have the following installed:
- Rust (version 1.86 nightly or later)
- Git
Installation
Option 1: Build from Source
-
Clone the repository:
-
Build the CLI:
-
The compiled binaries will be available in the
target/release
directory. PCL relies on two main binaries:pcl
: The main CLI toolphorge
: A supporting binary required for PCL functionality
-
(Optional) Add the binaries to your PATH for easier access:
You can place these binaries in any directory that’s in your PATH. Choose a location that works best for your system configuration.
Option 2: Download Pre-built Binary
Pre-built binaries are available for download from the GitHub releases page.
-
Download the appropriate binary for your platform.
-
Make the binaries executable:
Note: The binaries might have slightly different names depending on the platform.
For example, on Linux, they might be named pcl-aarch64-apple
and phorge-aarch64-apple
.
- Move the binaries to a location in your PATH:
Verifying Installation
To verify that PCL is installed correctly, run:
You should see the version number of the installed PCL CLI.
Next Steps
Now that you have PCL installed, you can learn how to get started with the Credible Layer.