Skip to content

[Bug]: Outdated download links in the documentation #139

Description

@Danil42Russia

If you try to run the installation command on any system, you may receive a 404 (Not Found) error.

# Apple Silicon (M1/M2/M3/M4)
curl -sSL https://github.com/step-security/dev-machine-guard/releases/latest/download/stepsecurity-dev-machine-guard_darwin_arm64 -o stepsecurity-dev-machine-guard
chmod +x stepsecurity-dev-machine-guard
# Intel Mac
curl -sSL https://github.com/step-security/dev-machine-guard/releases/latest/download/stepsecurity-dev-machine-guard_darwin_amd64 -o stepsecurity-dev-machine-guard
chmod +x stepsecurity-dev-machine-guard

# x64
Invoke-WebRequest -Uri "https://github.com/step-security/dev-machine-guard/releases/latest/download/stepsecurity-dev-machine-guard_windows_amd64.exe" -OutFile "stepsecurity-dev-machine-guard.exe"
# ARM64
Invoke-WebRequest -Uri "https://github.com/step-security/dev-machine-guard/releases/latest/download/stepsecurity-dev-machine-guard_windows_arm64.exe" -OutFile "stepsecurity-dev-machine-guard.exe"

curl -sSL https://github.com/step-security/dev-machine-guard/releases/latest/download/stepsecurity-dev-machine-guard_linux_amd64 -o stepsecurity-dev-machine-guard
chmod +x stepsecurity-dev-machine-guard
# ARM64
curl -sSL https://github.com/step-security/dev-machine-guard/releases/latest/download/stepsecurity-dev-machine-guard_linux_arm64 -o stepsecurity-dev-machine-guard
chmod +x stepsecurity-dev-machine-guard

This is because the binary filename format was changed in commit 02186f4.

System Old binary name New binary name
macOS Apple Silicon stepsecurity-dev-machine-guard_darwin_arm64 stepsecurity-dev-machine-guard-1.12.0-darwin
macOS Intel stepsecurity-dev-machine-guard_darwin_amd64 stepsecurity-dev-machine-guard-1.12.0-darwin
Windows x64 stepsecurity-dev-machine-guard_windows_amd64.exe stepsecurity-dev-machine-guard-1.12.0-windows_amd64.exe
Windows ARM64 stepsecurity-dev-machine-guard_windows_arm64.exe stepsecurity-dev-machine-guard-1.12.0-windows_arm64.exe
Linux x64 stepsecurity-dev-machine-guard_linux_amd64 stepsecurity-dev-machine-guard-1.12.0-linux_amd64
Linux ARM64 stepsecurity-dev-machine-guard_linux_arm64 stepsecurity-dev-machine-guard-1.12.0-linux_arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions