Prerequisites
Some commands may need the root account permission to execute, please use sudo as needed, or just start the client as root:
sudo -iRunning from source code
If you wish to run the client from source code, please install the following dependences.
Node.js
Running the Client requires installing Node.js.
Check if Node.js is Installed
Open a terminal window.
To check if Node.js is installed, run the following command:
node -vIf Node.js is installed, the terminal will display the version number, such as v20.15.1.
If Node.js is installed, ensure that the version is
20.15.1or higher.If the installed version is lower than
20.15.1or it is not installed, proceed to the installation below.
Install Node.js Version 20.15.1
To install Node.js version 20.15.1, first ensure your system is updated:
sudo apt updateInstall Node.js from the NodeSource repository:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejsVerify the installation by checking the Node.js version again:
node -vThis should return v20.15.1 or a higher version if installed successfully.
Git
Check if Git is Installed
To check if Git is installed, run the following command in the terminal:
git --versionIf Git is installed, the terminal will display the version number, such as git version 2.25.1.
Install Git if Not Installed
If Git is not installed, you can install it by running the following commands:
sudo apt update
sudo apt install -y gitVerify the installation by checking the Git version:
git --versionThis should return the version number of Git, confirming the installation.
Yarn
Check if Yarn is Installed
Open a terminal window.
Check if Yarn is installed by running:
yarn -vInstall Yarn if Not Installed
If Yarn is not installed, add the Yarn repository and install it:
npm install -g yarnVerify the installation by checking the Yarn version:
yarn -vBy following these steps, you will ensure that both Node.js (version 20.15.1 or higher) ,Git and Yarn are installed and properly configured on your system.
Running with Docker
If you wish to run the client with docker, please install docker.
Download and Run the Official Installation Script
Docker provides a convenient installation script that you can download and run with the following commands:
curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.shVerify the Docker Installation
Check the Docker version to confirm that the installation was successful:
docker --version
Last updated