install.sh

Use the guided installer for a fresh Weft node on Linux x86-64.

The install.sh script automates the manual steps in the systemd and Docker Compose guides. It downloads the latest release, verifies the archive checksum, installs the files for your role, and starts the node.

For a fresh installation on Linux x86-64, run the script in a terminal as your normal user:

curl -fsSL https://weftai.eu/install.sh | bash
  1. Choose an installation method.

    • systemd: Install weft and weftd in ~/.local/bin and run the node as a user service.
    • Docker Compose: Run the node in containers. You need Docker Engine, the Compose plugin, and permission to run Docker as your user.
  2. Choose what this node will do.

    • Consumer: Use this machine to access someone else’s model.
    • Provider: Share a model backend with consumers.

When the installer finishes, look for your Peer ID and Server setting: Disabled for a consumer or Enabled for a provider.