Skip to content

Releases: KittyCAD/cli

v0.2.183

Choose a tag to compare

@github-actions github-actions released this 16 Jul 00:53
v0.2.183
de962c4

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="5c5687e74ec3ecf195e8ff2c22e2f403325e58bd62a2308f42d1939b2943cf1b"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.183/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="18b40a46a4da274ab6f82b415a8f9c458abb74a89d2d44f6a44d46fbd84db75e"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.183/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "13a1337e85723e2cb4d788c8dd467d928c1d2c41737719bece17272634fb6b47"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.183/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="e4523210a0fdcfbe846c6bfe29e98896d2ce840f0a917d73bc7cf3112a232363"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.183/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="abe266dd5df7fffe7d65784d180b4a0b0883395a771548eba16c87da7607ba40"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.183/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

v0.2.182

Choose a tag to compare

@github-actions github-actions released this 08 Jul 21:36
v0.2.182
0b27688

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="9888a478dc3b5bace606c9dfa44347ecef3adff7ed8d1b46c3b9247037e0288f"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.182/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="69b2d6b9b6294cadf8a0ddfcbb1a094a2260b3f7d95b969c4979fdd294bfe6d9"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.182/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "65dbb09adc49eca6f5c3eadba6ac66fb5d75eafbbba3ee995ce670093213e5b5"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.182/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="b00f679da47f1068b58d6803478c3550f87ed10034a8907427d2a78a943df664"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.182/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="82f89a23811d92665797e644bd1a6f874a11e5a334a10b68b55bc17918636fb6"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.182/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

v0.2.181

Choose a tag to compare

@github-actions github-actions released this 08 Jul 20:51
v0.2.181
5881479

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="c59477c3c84ec2fbaec946fa596c0de3a8256ef189dd11481e29667f676298ea"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.181/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="3a8a7ac98ff5553bf5d8281ef46904bbad570af7b7413e530cc49b22247b8f63"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.181/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "f3f4508328bf89e02c329c30925aee2cb88ecf9e6dc465be930987b976c0bda0"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.181/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="ecfdd91be82515aed8f3ea9b4e1e106381a8d14d5ade693b85d03f31fb8dfbc9"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.181/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="20fb1387f8e4bffa060779fbdb856e19ba1edace83b8aee4e64d33c245297922"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.181/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

v0.2.180

Choose a tag to compare

@github-actions github-actions released this 30 Jun 17:54
v0.2.180
290825a

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="9cdef100841a560c22052ac6cf58b8ccf1596869aed60036b93d5f653245aa3a"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.180/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="3cc9b49f21e7926fb66004d107507c0fb6ae68ef0cb91877d01452880a6c70b8"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.180/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "2f5e5a44335b164087d2948f8f8229a8bdafb2815fee151c4786fb36c9ebc623"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.180/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="5680a7192e926cfdd2eb7f827836f8928172f1f6cd0c897757f49754abfbee30"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.180/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="699090e951a52f6e013b913444a8f60efe0b1db70addff884c6f16f39ccf031c"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.180/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

v0.2.179

Choose a tag to compare

@github-actions github-actions released this 26 Jun 15:10
v0.2.179
7a1d86e

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="2f6935d21337a4b321dcf31fe5d4bf3556c8001f738697c2e9fa3af372426a8d"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.179/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="cdaacc006915e4db5af1155c34ad20f5b752706f7b4938750d2f1093398edca6"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.179/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "f1df4ed4be3d84616a359cd7c43455a2bae9429f08d7453fad6d6b2465262d7b"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.179/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="c5fa3eeef1c598c87048aa7a6500bd8512b2982f06f7a7df7a08a5e5a1a1020e"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.179/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="0fe4f89c1892f9a79dd40ed972885b8689062f98703bc5613ad62409f9e526a7"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.179/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

v0.2.178

Choose a tag to compare

@github-actions github-actions released this 17 Jun 22:46
v0.2.178
6052f7e

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="d41a888042cba1672b61ec2a33820d26df79e1bf828379e3b040d960d5c21d4b"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.178/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="2c17fda42d0ccc04b3c10f1486c12f087bf912f7837942a5183c6cca22605876"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.178/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "27eb2480a09ae57f54a093db0a8e304e791accf3be7e6775c8550773653edb2b"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.178/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="238a99e9f65ec0a52396a9247d5b2645b511a3abb4ad26096b48acff0a0e60f1"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.178/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="39d4a67c07aea657203c35a5dc1fb8f57d540c3a61fa8b4411dcc7c2e435f369"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.178/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

v0.2.177

Choose a tag to compare

@github-actions github-actions released this 12 Jun 16:12
v0.2.177
3ce0f1f

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="fdd4712f952b2ddc9229ac75ceba7aa4ddc825264d4fc207fb5cb2d4e3a96fbd"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.177/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="3338c707483efe2b593b05eb69d8d42a466684581b8cd7eac4c228eb7796da5e"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.177/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "5280733584995e628a48e30437d8edda5189e138ef86482204cc92caf424d4ba"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.177/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="923bab7f0a91a9b55b7048e17f65d93cd35604acbb52b93ba0df87cf661d0152"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.177/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="b66adc007c6074726e0f8cc4bb844df0c444eb90942aa2746d9c477cbcec17ef"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.177/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

v0.2.176

Choose a tag to compare

@github-actions github-actions released this 10 Jun 22:49
v0.2.176
d242ba2

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="f846b89ec2d5645cfccc5661f4d4ef92bac1931d98dba38cc08920e9ab50563a"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.176/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="b51f91058082656aefff3e1b4d9683207960bb1912ac01856182240c55758150"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.176/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "691620fccb2845dc21db94c5bb288fa39492239bb1a78a2ca4ac18d450fbac81"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.176/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="7966d36780262a09677b2c2ad4d18337cdbd0584350deddf608e99e334fb8ffe"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.176/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="11a56aa2f37ca62931063d83b094c1b20489de2b768e516a1d91dc240e0d1541"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.176/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

v0.2.175

Choose a tag to compare

@github-actions github-actions released this 08 Jun 21:26
v0.2.175
1142a52

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="5d7559c43fa4589e9996f2e9b99cfd1749e0460fc7541bf02d2f12f7b9bfb036"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.175/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="187b421081c8753ba983f4ac809ff7cf020054ab4765f5c6e4c0b9300761ee8a"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.175/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "0351bd189ccefef517bfa4945750374435c177ca4e08f0421089d025d67175cb"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.175/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="a77e5fa27033b3b7e5bf05c685abc5240b976e9f0d65c125ebb999cbfbf4aa2a"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.175/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="0d1e2ba221be05565f1adafc16c4a5bfbca6981bad0389f527dbaed691c366a4"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.175/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

v0.2.174

Choose a tag to compare

@github-actions github-actions released this 04 Jun 15:00
v0.2.174
c2446d4

These instructions are meant as an easy way to install. Unix snippets use sha256sum; macOS users may need coreutils for that command.

x86_64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="707c5531ead3982389592065c5d18e9e55be202c0d2af7d14b421f8951fc542a"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.174/zoo-x86_64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-apple-darwin

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="21534c8ecf5ab8ebd197d15f02efde7404292e9145c9276993b6bd2d69e31c88"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.174/zoo-aarch64-apple-darwin" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

x86_64-pc-windows-gnu

# Export the sha256sum for verification.
$ZOO_CLI_SHA256 = "cc558abc170330450ee3c2483fea0ea37418fe00c2e7b4928f53d3ee1a021ed9"

# Define where to install the Zoo CLI.
$zooPath = Join-Path $env:LOCALAPPDATA "Zoo"
$cliPath = Join-Path $zooPath "zoo.exe"

# Create the directory for the Zoo CLI.
New-Item -ItemType Directory -Force -Path $zooPath | Out-Null

# Download and check the sha256sum.
Invoke-WebRequest -Uri "https://dl.zoo.dev/releases/cli/v0.2.174/zoo-x86_64-pc-windows-gnu" -OutFile $cliPath
$actualHash = (Get-FileHash -Algorithm SHA256 $cliPath).Hash.ToLowerInvariant()
if ($actualHash -ne $ZOO_CLI_SHA256.ToLowerInvariant()) {
    throw "Checksum verification failed for $cliPath"
}

function Test-PathContains {
    param(
        [string]$PathValue,
        [string]$Directory
    )

    if ([string]::IsNullOrWhiteSpace($PathValue)) {
        return $false
    }

    $directoryToFind = $Directory.TrimEnd('\')
    foreach ($entry in $PathValue -split ';') {
        if ($entry.TrimEnd('\') -ieq $directoryToFind) {
            return $true
        }
    }

    return $false
}

# Add the Zoo CLI directory to your user Path if needed.
$userPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if (-not (Test-PathContains -PathValue $userPath -Directory $zooPath)) {
    $pathEntries = @()
    if (-not [string]::IsNullOrWhiteSpace($userPath)) {
        $pathEntries = $userPath -split ';' | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }
    }
    $pathEntries += $zooPath
    [Environment]::SetEnvironmentVariable("Path", ($pathEntries -join ';'), [EnvironmentVariableTarget]::User)
}

# Make the new Path available in this PowerShell session.
if (-not (Test-PathContains -PathValue $env:Path -Directory $zooPath)) {
    $env:Path = ((@($env:Path, $zooPath) | Where-Object { -not [string]::IsNullOrWhiteSpace($_) }) -join ';')
}

Write-Host "zoo cli installed!"

# Run it!
zoo -h

x86_64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="bd6921a79b11b53610a22ab81531e6f541f6b07cec9a424020b0adc52a3ce1c2"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.174/zoo-x86_64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h

aarch64-unknown-linux-musl

# Export the sha256sum for verification.
$ export ZOO_CLI_SHA256="111f7f9080c2bd63190a02a9c47a4a7df9a23a69232de3b83d73c526305fe3b7"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.174/zoo-aarch64-unknown-linux-musl" -o "/usr/local/bin/zoo" \
	&& echo "${ZOO_CLI_SHA256}  /usr/local/bin/zoo" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/zoo"


$ echo "zoo cli installed!"

# Run it!
$ zoo -h