Skip to content
Snippets Groups Projects
Select Git revision
  • f75e9b7fdac3d3786a84279e475d7b278c74e29d
  • dev default protected
  • release/1.9.1 protected
  • pini-1.8-docker
  • pini-sync-onlypeers
  • duniter-v2s-issue-123-industrialize-releases
  • feature/build-aarch64-nodejs16
  • release/1.8 protected
  • pini-docker
  • ci_tags
  • fix/1448/1.8/txs_not_stored
  • feature/node-20
  • fix/1441/node_summary_with_storage
  • fix/1442/improve_bma_tx_history
  • feature/wotwizard-1.8
  • release/1.9 protected
  • 1.7 protected
  • feature/docker-set-latest protected
  • feature/fast-docker-build-1.8.4
  • fast-docker-build protected
  • feature/dump-distance
  • v1.8.7 protected
  • v1.8.7-rc4 protected
  • v1.8.7-rc3 protected
  • v1.8.7-rc2 protected
  • v1.8.7-rc1 protected
  • v1.8.6 protected
  • v1.7.23 protected
  • v1.8.5 protected
  • v1.8.4 protected
  • v1.8.3 protected
  • v1.8.2 protected
  • v1.8.1 protected
  • v1.8.0 protected
  • v1.8.0-rc1 protected
  • v1.8.0-beta5 protected
  • v1.8.0-beta4 protected
  • v1.8.0-beta3 protected
  • v1.8.0-beta2 protected
  • v1.8.0-beta protected
  • v1.7.21 protected
41 results

server.js

Blame
  • hide:
      - navigation

    Install Silkaj

    Distribution

    Installing Silkaj from the package manager of your favorite distribution might not be available or might not come with latest Silkaj version. In order to get latest version install Silkaj with pipx or pip from PyPI which you can find in next sections.

    Packaging status

    Unix

    On a Unix system, run in your shell following commands:

    Install libsodium

    === "Debian"

    ```
    sudo apt install libsodium23
    ```

    === "Fedora"

    ```
    sudo dnf install libsodium-devel
    ```

    === "macOS"

    ```
    brew install libsodium
    ```

    Install pipx

    Check pipx documentation for an extended installation tutorial.

    === "Debian"

    ```
    sudo apt install pipx python3-dev
    ```

    === "Fedora"

    ```
    sudo dnf install pipx python3-devel
    ```

    === "macOS"

    ```
    brew install python3 pipx
    ```

    Install with pipx

    pipx tool is recommended for Python executables. It isolates libraries into separated virtual environments.

    Ensure path

    Takes care to add Pipx executables in the PATH of your shell:

    pipx ensurepath

    Install

    pipx install silkaj

    Upgrade

    pipx upgrade silkaj

    Uninstall

    pipx uninstall silkaj

    Check Silkaj is working

    silkaj

    Install with pip

    pipx installation is recommended, but you can proceed with pip if you know what you are doing.

    Install pip

    === "Debian"

    ```
    sudo apt install python3-pip
    ```

    === "Fedora"

    ```
    sudo dnf install python3-pip
    ```

    === "macOS"

    Already installed with `python3`

    Completing PATH

    If after Silkaj intallation you get a bash: silkaj: command not found error, you have to extend the PATH with ~./local/bin:

    echo "export PATH=$PATH:$HOME/.local/bin" >> $HOME/.bashrc
    source $HOME/.bashrc

    Install for current user only

    pip install silkaj --user

    Upgrade

    pip install silkaj --user --upgrade

    Uninstall (useful to see the real paths)

    pip uninstall silkaj --user

    Check Silkaj is working

    silkaj

    Shell completion

    Set up the shell completion by adding following line in your shell configuration depending on your shell:

    === "Bash"

    ```title="$HOME/.bashrc"
    eval "$(_SILKAJ_COMPLETE=bash_source silkaj)"
    ```

    === "Zsh"

    ```title="$HOME/.zshrc"
    eval "$(_SILKAJ_COMPLETE=zsh_source silkaj)"
    ```

    === "Fish"

    ```title="$HOME/.config/fish/completions/silkaj.fish"
    _SILKAJ_COMPLETE=fish_source silkaj | source
    ```

    For further details checkout Click documentation.

    Install to contribute

    Check out the installation guide with Poetry.