On Linux
Step 1: Installing
- Identify a folder in which to install pNetwork Node Command Line Interface.
Consider that this folder must be kept, if you move or delete the folder you will need to run the installation again.
- On Terminal, navigate to the folder [1] and run the following command to download the latest version of pNetwork Node Command Line Interface
wget https://github.com/provable-things/pnetwork-node-cli/archive/master.zip
- Once downloaded, extract the zip file by running this command. [2]
unzip master.zip
If you get the error "Command 'unzip' not found", you'll need to install the unzip tool by running the following command. Then retry the unzip on step 3.
sudo apt install unzip
- From the terminal, navigate to the path of the extracted folder and run the following command
cd pnetwork-node-cli-master source install.sh
A few minutes later, the pNetwork Node Command Line Interface will be ready to use and you can proceed with the node provisioning On Linux
On macOS
Step 1: Installing
- Identify a folder in which to install pNetwork Node Command Line Interface.
Consider that this folder must be kept, if you move or delete the folder you will need to run the installation again.
- On Terminal, navigate to the folder [1] and run the following command to download the latest version of pNetwork Node Command Line Interface
wget https://github.com/provable-things/pnetwork-node-cli/archive/master.zip
- Once downloaded, extract the zip file by running this command. [2]
unzip master.zip
If you get the error "Command 'unzip' not found", you'll need to install the unzip tool by running the following command. Then retry the unzip on step 3.
sudo apt install unzip
- From the terminal, navigate to the path of the extracted folder and run the following command
cd pnetwork-node-cli-master source install.sh
A few minutes later, the pNetwork Node Command Line Interface will be ready to use and you can proceed with the node provisioning on MacOS
On Windows
Step 1: Setup Ubuntu for Windows
- From Start Menu, find Windows Power Shell. Right-click and select “Run as administrator”
- Run this command to enable Windows Subsistem Linux:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- Run this command to enable Virtual Machine feature:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- Reboot Windows
- Once rebooted, download and run Linux kernel update from this link
- Open the following link Get Ubuntu from the Microsoft Store, and click "Get"
- Once Microsoft Store is open, select "Install" to proceed with the installation of Ubuntu for Windows 10
- Launch Ubuntu app, the application will ask you to create a new user. More specific information at the following link Create a user account and password for your new Linux distribution
Now the Ubuntu terminal environment is ready and we can proceed with the installation of pNetwork Node Command Line Interface
Step 2: Installing
- Identify a folder in which to install pNetwork Node Command Line Interface.
Consider that this folder must be kept, if you move or delete the folder you will need to run the installation again.
- On Ubuntu terminal enviroment, navigate to the folder [1] and run the following command to download the latest version of pNetwork Node Command Line Interface
wget https://github.com/provable-things/pnetwork-node-cli/archive/master.zip
- Once downloaded, extract the zip file by running this command. [2]
unzip master.zip
If you get the error "Command 'unzip' not found", you'll need to install the unzip tool by running the following command. Then retry the unzip on step 3.
sudo apt install unzip
- Run the following command to start the installation
source pnetwork-node-cli-master/install.sh
A few minutes later, the pNetwork Node Command Line Interface will be ready to use and you can proceed with the node provisioning on Windows.