Install Dagweave Local
Install the dagweave binary with one of the commands below. You don’t need an
account. Workflows made only of scripts need nothing else. Anything that runs a
container needs Docker.
Install with Homebrew
Section titled “Install with Homebrew”On macOS or Linux:
brew install dagweave/tap/dagweavedagweave versionUpdate with brew upgrade dagweave. Homebrew checks the checksum for you.
Install with curl
Section titled “Install with curl”On macOS or Linux, without Homebrew:
curl -fsSL https://github.com/dagweave/local-releases/releases/latest/download/dagweave-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') -o dagweave && chmod +x dagweavesudo mv dagweave /usr/local/bin/dagweave versionInstall on Windows
Section titled “Install on Windows”In PowerShell:
$arch = if ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64') { 'arm64' } else { 'amd64' }; irm https://github.com/dagweave/local-releases/releases/latest/download/dagweave-windows-$arch.exe -OutFile dagweave.exe$bin = "$env:LOCALAPPDATA\Programs\dagweave"New-Item -ItemType Directory -Force $bin | Out-NullMove-Item -Force dagweave.exe $bin[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";$bin", "User")Open a new PowerShell window to pick up the new PATH, then run
dagweave version.
Pick a build by hand
Section titled “Pick a build by hand”Files on the releases page:
| Your machine | File |
|---|---|
| Linux, Intel/AMD | dagweave-linux-amd64 |
| Linux, ARM | dagweave-linux-arm64 |
| macOS, Intel | dagweave-darwin-amd64 |
| macOS, Apple Silicon | dagweave-darwin-arm64 |
| Windows, Intel/AMD | dagweave-windows-amd64.exe |
| Windows, ARM | dagweave-windows-arm64.exe |
Verify the download
Section titled “Verify the download”Download the build with its checksums, signature and public key:
gh release download <tag> --repo dagweave/local-releases \ --pattern 'dagweave-linux-amd64' --pattern 'SHA256SUMS*' --pattern 'cosign.pub'Swap in your platform’s file and a release tag. Then check and install:
cosign verify-blob --key cosign.pub --signature SHA256SUMS.sig SHA256SUMSsha256sum --check --ignore-missing SHA256SUMSchmod +x dagweave-linux-amd64sudo mv dagweave-linux-amd64 /usr/local/bin/dagweavedagweave versionOn macOS, use shasum -a 256 --check --ignore-missing SHA256SUMS instead of
sha256sum.
If your browser downloaded it
Section titled “If your browser downloaded it”The binary isn’t signed by Apple or Microsoft, so your OS may block a copy your browser downloaded. On macOS, remove the quarantine mark:
xattr -d com.apple.quarantine ./dagweave-darwin-arm64On Windows, click More info, then Run anyway on the SmartScreen warning, or unblock the file first:
Unblock-File -Path .\dagweave-windows-amd64.exeUpdate notices
Section titled “Update notices”Once a day, dagweave checks GitHub and prints a line if there’s a newer
release. It never installs anything. Set DAGWEAVE_NO_UPDATE_CHECK=1 to turn it
off.