Skip to content

v1.1.0: Self-upgrade feature

Choose a tag to compare

@nerveband nerveband released this 24 Jan 18:41
· 3 commits to main since this release

What's New

Self-Upgrade Command

You can now update yt-api directly from the command line:

# Check for updates
yt-api upgrade --check

# Upgrade to latest version
yt-api upgrade

The upgrade command:

  • Automatically detects your OS and architecture
  • Downloads the correct binary from GitHub releases
  • Validates checksums for security
  • Replaces the current binary in place

Installation

macOS (Apple Silicon)

curl -L https://github.com/nerveband/yt-api-cli/releases/download/v1.1.0/yt-api-darwin-arm64 -o /usr/local/bin/yt-api
chmod +x /usr/local/bin/yt-api

macOS (Intel)

curl -L https://github.com/nerveband/yt-api-cli/releases/download/v1.1.0/yt-api-darwin-amd64 -o /usr/local/bin/yt-api
chmod +x /usr/local/bin/yt-api

Linux (x86_64)

curl -L https://github.com/nerveband/yt-api-cli/releases/download/v1.1.0/yt-api-linux-amd64 -o /usr/local/bin/yt-api
chmod +x /usr/local/bin/yt-api

Checksums

See checksums.txt for SHA256 hashes of all binaries.