Skip to content

Binary installations fails on macOS #164

Description

@mikeparker104

Description

The recommended binary install script fails on macOS.

Repro

Run the recommended binary install command (from getting started) in Terminal on macOS:

curl -fsSL https://raw.githubusercontent.com/microsoft/waza/main/install.sh | bash

Expected

The waza binary is installed successfully by following the read me instructions.

Actual

The script exits with code 1 at the checksum verification step. The download itself worked fine. The script called sha256sum (a Linux utility) which doesn't exist on macOS. On macOS, there is shasum -a 256 instead.

Workaround

Handle installation manually. Indicative flow:

# Download binary and checksums
 curl -fsSL -o waza-darwin-arm64 \
   "https://github.com/microsoft/waza/releases/latest/download/waza-darwin-arm64"
 curl -fsSL -o checksums.txt \
   "https://github.com/microsoft/waza/releases/latest/download/checksums.txt"
 
 # Verify checksum (macOS-compatible)
 grep waza-darwin-arm64 checksums.txt | shasum -a 256 --check
 
 # Install
 chmod +x waza-darwin-arm64
 sudo mv waza-darwin-arm64 /usr/local/bin/waza
 
 # Clean up
 rm checksums.txt
 
 # Verify
 waza --version

Environment

  • waza version 0.23.0
  • macOS 26.4 (Tahoe)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions