Repository navigation
v1.1.0: Self-upgrade feature
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 upgradeThe 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-apimacOS (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-apiLinux (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-apiChecksums
See checksums.txt for SHA256 hashes of all binaries.