Skip to content
Weaverv0.5.0

Installation

Weaver is released for x86_64 Linux. Its toolchain is one command, wv, installed from a signed release by a script:

Terminal window
curl -fsSLO https://gitlab.com/weaver-lang/weaver/-/releases/v0.5.0/downloads/install.sh
sh install.sh 0.5.0

install.sh checks the release’s signature, then the archive’s hash, before it extracts anything. It installs into $WEAVER_ROOT, ~/.local/share/weaver by default; put its bin/ in your PATH:

Terminal window
export PATH="$HOME/.local/share/weaver/bin:$PATH"
Terminal window
wv version
  • To install: curl, openssl 3, sha256sum, tar and xz.
  • To compile: clang 21 and lld, through which Weaver produces its binaries.

The packages a project depends on, the wefts, are published on the registry, wefts.weaver-lang.dev, with their documentation. There is nothing to install beforehand: wv add adds one to a project, and wv downloads what a build needs, as the next pages show.

In a checkout of the repository:

Terminal window
compiler/bootstrap.sh

Without a compiler, clang builds a first one from the seed, the compiler’s IR; it then rebuilds itself until it reaches a fixed point, runs its short test suites, and installs wv and its tools in bin/.