asd Android SDK Downloader — offline-friendly SDK component installer

--update, -up

Part of the Command Reference.

asd --update
asd -up

Downloads the latest package registry and saves it to $ASD_CSV.

What it does

  1. Downloads sdk-archives.csv from https://maven.myket.ir/sdk-archives.csv.
  2. Filters out rows tagged windows, macos, or darwin, keeping only Linux-relevant entries.
  3. Writes the result to $ASD_CSV (/opt/myket.csv by default), using sudo only if the target directory isn’t already writable.
Fetching registry from https://maven.myket.ir/sdk-archives.csv ...
Registry updated. 4128 Linux packages available.

When you need this

  • On first use, before installing anything (though install will also auto-fetch the registry if $ASD_CSV doesn’t exist yet).
  • Periodically, to pick up newly published SDK component versions.

See Bypassing sudo if you’d rather point $ASD_CSV at a user-owned path so this never prompts for a password.