Skip to main content

Install Exorde CLI from sources

Requirements

Method 1 - Install on a system with Python 3.9 globally installed

info

Follow this section if your operating system already has Python 3.9 or if you want to install it globally on your system. Otherwise, follow the next section.

note

Some very lightweight Linux distributions may not have tools like wget. In this case, please install them.

  1. Install Python 3.9 on your system if it is not already present and add it to the PATH.
  2. Download the latest version of Exorde CLI:
    wget https://github.com/exorde-labs/ExordeModuleCLI/archive/refs/heads/main.zip \
    --output-document=ExordeModuleCLI.zip
  3. Unzip Exorde CLI:
    unzip ExordeModuleCLI.zip \
    && rm ExordeModuleCLI.zip \
    && mv ExordeModuleCLI-main ExordeModuleCLI
  4. Go to the root of Exorde CLI folder:
    cd ExordeModuleCLI
  5. Create a new virtual venv environment (exorde-env is an example name):
    python -m venv exorde-env
  6. Activate the environment:
    PlatformShellCommand to activate virtual environment
    POSIXbash/zshsource ./exorde-env/bin/activate
    fishsource ./exorde-env/bin/activate.fish
    csh/tcshsource ./exorde-env/bin/activate.csh
    PowerShell Core./exorde-env/bin/Activate.ps1
    Windowscmd.exe.\exorde-env\Scripts\activate.bat
    PowerShell.\exorde-env\Scripts\Activate.ps1
  7. Upgrade Pip:
    pip install --upgrade pip
  8. Install the required packages:
    pip install -r requirements.txt
info

Exorde CLI is now ready to run!

Please read the run section to have more information about how to run Exorde CLI.

Method 2 - Install on a system without Python 3.9

info

This section explains how to run the Exode CLI inside a virtual Python environment using Conda. It will install Python 3.9 in this environment, even if another version is installed globally.

note

Some very lightweight Linux distributions may not have tools like wget. In this case, please install them.

  1. Follow the Conda's documentation to install it on your system. You can choose either Anaconda or Miniconda.
  2. Download the latest version of Exorde CLI:
    wget https://github.com/exorde-labs/ExordeModuleCLI/archive/refs/heads/main.zip \
    --output-document=ExordeModuleCLI.zip
  3. Unzip Exorde CLI:
    unzip ExordeModuleCLI.zip \
    && rm ExordeModuleCLI.zip \
    && mv ExordeModuleCLI-main ExordeModuleCLI
  4. Go to the root of Exorde CLI folder:
    cd ExordeModuleCLI
  5. Create a new virtual conda environment with Python 3.9 as the environment executable (exorde-env is an example name):
    conda create --name exorde-env python=3.9 -y
  6. Activate the environment:
    conda activate exorde-env
  7. Upgrade Pip:
    pip install --upgrade pip
  8. Install the required packages:
    pip install -r requirements.txt
info

Exorde CLI is now ready to run!

Please read the run section to have more information about how to run Exorde CLI.