Installation
Weaver is released for x86_64 Linux. Its toolchain is one command, wv,
installed from a signed release by a script:
curl -fsSLO https://gitlab.com/weaver-lang/weaver/-/releases/v0.5.0/downloads/install.shsh install.sh 0.5.0install.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:
export PATH="$HOME/.local/share/weaver/bin:$PATH"wv versionWhat it needs
Section titled “What it needs”- To install: curl, openssl 3, sha256sum, tar and xz.
- To compile: clang 21 and lld, through which Weaver produces its binaries.
Packages
Section titled “Packages”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.
Building from source
Section titled “Building from source”In a checkout of the repository:
compiler/bootstrap.shWithout 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/.