Skip to content

Releases: KittyCAD/cli

v0.2.178

17 Jun 22:46
v0.2.178
6052f7e

Choose a tag to compare

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

12 Jun 16:12
v0.2.177
3ce0f1f

Choose a tag to compare

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

10 Jun 22:49
v0.2.176
d242ba2

Choose a tag to compare

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

08 Jun 21:26
v0.2.175
1142a52

Choose a tag to compare

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

04 Jun 15:00
v0.2.174
c2446d4

Choose a tag to compare

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

v0.2.173

28 May 21:10
v0.2.173
07f2f20

Choose a tag to compare

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="78be7c44398db228af4460ff454325d229d4823ce912adfff05941753aabf2b6"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.173/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="76f6fbe864fbb4bf6d0cfa4f66806f1c5dadade1b75db4403421d14cfe7a9c1a"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.173/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 = "a259714bdd32143b37e2aa70fdd1586ef134c6ac6a42d6e75fe98749e0859976"

# 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.173/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="1bfa8d4a4992a2d653e5da836ff2fcd9757a51b6abd03214bf038fedea604fd8"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.173/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="8dea712718d8075c60a171054f0f7c012773d9e688d28c3506b451598e2e1d9a"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.173/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.172

21 May 18:36
v0.2.172
3731c8c

Choose a tag to compare

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="345a79ca32d96650b1ad9524faac4464127e58f6ef7efb09028a3341194dba2d"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.172/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="4a4bb48af1869c8663251f91f4fc3adf1b3593cf8d765c8ef63bc374bc3a3e3f"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.172/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 = "53c813cc39e447648ae7b6a858765e3c5c93dfbc5b86045bb19c21417a5d70d2"

# 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.172/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="787832bf3d1e9dc3af01036b555235f2a2355b1bdacd692a4e3c729944a01182"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.172/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="26f83400f77bfa17454f5aafe26b130ecdf80c87a692b619810b51e843252fb2"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.172/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.171

15 May 19:42
v0.2.171
fc72c5f

Choose a tag to compare

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="97b12417653153718093745dc5be29818df36b60532772477c7f1ec6477ffd5b"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.171/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="57b2611ce78002990d25e932d14603f915af95e6d1cc708de47d91bcdeeb7d14"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.171/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 = "da9ee90f58a0ee1f71ca607c89aa74e9cd4f2ccb1d621fa642a6c1af3ec52ef1"

# 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.171/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="07874c4d2bfd981f1a65ee25e2cd65b43d83a67b3970977a62368c9694a4cc95"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.171/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="3afb54810be6339ce7bd4b1528e94e7a22d7e97d4f10a44298151c6f26dcae9d"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.171/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.170

14 May 19:51
v0.2.170
9c950dc

Choose a tag to compare

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="68394e6f2e8b61d0567b4a6ff5e2a6458f1ee388d794851fdb35b23031af33ef"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.170/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="67e91d38a10faaf1857aa804d53f027b10adc0aafd01ec45e7288f1c9ba80545"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.170/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 = "f4b8cc45ca475d72b3d2dec0223041adb5a45f6936da1da0e8f9efad3c780bbd"

# 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.170/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="4a481fa8b157f5b0a3f0b399d037aaaa88490df0366cc203f780551abb4806af"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.170/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="d41ea2c9abd7b9701aea4f88609eb1829e13aba1eb49110e780647a0e64c5d26"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.170/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.169

13 May 20:29
v0.2.169
e35047d

Choose a tag to compare

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="1345332f1eca6f03927bffadb31b21c0bb4fd889e266e63d486e538bf15d04f9"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.169/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="35d41480b38d0d79fbffc6c168256c9d1ff46474808544e52d21513dd0bb26f7"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.169/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 = "0ab2c37e3c16aeb71921a6939858b449927a4f966bdfb4ef9f8448cf017ef337"

# 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.169/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="3fabf093387866f5fb5b61f26ef44c209d31a5dfeceb7cf5fb1ffbbc38973f3a"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.169/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="118f58a502b9519598684c4cbf11a050069de19a0f6374035ae34d1c6d305b47"


# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/cli/v0.2.169/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