Command-line Tools
This page describes the standalone StarNet and DeepSNR command-line packages. Use these files for command-line workflows, automation, integration with other image processing software, and standalone processing outside PixInsight.
Latest version feed
Applications and scripts can use this public JSON feed to check the latest StarNet2 and DeepSNR command-line releases, show an update notice and get direct links to their archives and installers. No account or API key is required.
Read the feed
Send an HTTPS GET request to https://starnetastro.com/cli-tools/latest.json.
curl --fail --silent --show-error https://starnetastro.com/cli-tools/latest.json
The feed includes starnet2 and deepsnr under
tools. Select the platform of the CLI package your application
uses; releases can differ between platforms.
| Platform key | CLI package |
|---|---|
windows-x64 | Windows x64 |
linux-x64 | Linux x64 |
macos-x64 | Intel Mac, or the x64 package through Rosetta 2 |
macos-arm64 | Native ARM64 package for an Apple Silicon Mac |
For example, read tools.starnet2.latest["linux-x64"] for
StarNet2 on Linux, or tools.deepsnr.latest["windows-x64"] for
DeepSNR on Windows.
Response format
Check that schema is starnetastro.cli-tools.latest.v1 before
interpreting the response. This excerpt shows both StarNet2 and DeepSNR,
with their Linux releases as examples. The full response includes all
four platform keys for each tool. Ignore fields your client does not use;
new fields may be added within this schema version.
{
"schema": "starnetastro.cli-tools.latest.v1",
"generated_utc": "2026-09-20T04:48:22Z",
"tools": {
"starnet2": {
"display_name": "StarNet2",
"download_url": "https://starnetastro.com/cli-tools/starnet/",
"latest": {
"linux-x64": {
"build": "0242",
"packages": {
"archive": {
"file_name": "starnet2_linux_2.6.2-0242_ORT_x64_cli.zip",
"sha256": "066a7683f0321ae8400d3bc1023a48747ac228e1d14e76b5d39c4e48cbce4920",
"size_bytes": 151481786,
"url": "https://download.starnetastro.com/starnet2_linux_2.6.2-0242_ORT_x64_cli.zip"
},
"installer": {
"file_name": "StarNet2_linux_2.6.2-0242_ORT_x64.sh",
"sha256": "ffbb6292936a97841e464cf0e5f77960858257b3c8a2ee891fae44d092336e00",
"size_bytes": 138493623,
"url": "https://download.starnetastro.com/StarNet2_linux_2.6.2-0242_ORT_x64.sh"
}
},
"release_date": "2026-09-19",
"release_notes": "Improves linear FITS handling, output fidelity and processing diagnostics, including intermediate 2x processing and star-layer output.",
"version": "2.6.2"
}
}
},
"deepsnr": {
"display_name": "DeepSNR",
"download_url": "https://starnetastro.com/cli-tools/deepsnr/",
"latest": {
"linux-x64": {
"build": "0147",
"packages": {
"archive": {
"file_name": "deepsnr_linux_1.3.2-0147_ORT_x64_cli.zip",
"sha256": "b2f88f9e2ee6fd8256d157bff55cfa87006e42bf6064a3a000d90dfbf77aa057",
"size_bytes": 245227606,
"url": "https://download.deepsnrastro.com/deepsnr_linux_1.3.2-0147_ORT_x64_cli.zip"
},
"installer": {
"file_name": "DeepSNR_linux_1.3.2-0147_ORT_x64.sh",
"sha256": "21fc31af71bf248af2d8ad9b721d75837bddb126e6831d3840fa00c77deb33fc",
"size_bytes": 232140919,
"url": "https://download.deepsnrastro.com/DeepSNR_linux_1.3.2-0147_ORT_x64.sh"
}
},
"release_date": "2026-09-19",
"release_notes": "Improves linear FITS handling, output fidelity and processing diagnostics.",
"version": "1.3.2"
}
}
}
}
} | Field | Meaning |
|---|---|
generated_utc | UTC time when the feed was generated, separate from the release date. |
display_name | Product name for your update notice. |
download_url | The product's website download page, where users choose a package. |
version | Dotted CLI version string. |
build | Build identifier stored as a string, including leading zeros. |
release_date | Public release date in YYYY-MM-DD format. |
release_notes | Short release summary; this may be an empty string. |
packages.archive | The portable ZIP archive for this release and platform. |
packages.installer | The matching installer: Windows .exe, Linux .sh or macOS .pkg. Omitted when no matching installer is available. |
packages.*.url | Direct HTTPS download URL; use this value without reconstructing filenames. |
packages.*.file_name | Published package filename, including its extension. |
packages.*.size_bytes | Package size in bytes. |
packages.*.sha256 | SHA-256 checksum of the downloadable file. |
Use package links
For a direct download, use the selected platform entry's
packages.archive.url or packages.installer.url.
Each package belongs to that entry's exact version and build. Verify a
downloaded file against its size_bytes and
sha256 before using it.
Older feed responses may lack packages, and an installer
may be absent. Check that the requested package exists; otherwise, use
the product's download_url to open its download page.
Your application decides which package suits the user's system and
how to handle downloading and installation.
Show an update notice
- Detect the installed CLI version and select its matching product and platform entry.
-
Compare version components numerically, not as text:
2.10.0is newer than2.9.0. If your client also knows the installed build, compare builds numerically when the versions match. Preserve leading zeros when displaying the build identifier. - If a newer release is available, show its version and a link to the product's
download_url.
Cache successful checks and avoid requesting the feed for every image or processing step. If the request fails, the JSON is invalid, the schema is unfamiliar, or the product or platform entry is missing, treat the latest version as unknown and let processing continue.
An available update does not mean the installed CLI is unsupported. Keep your application's minimum-version and feature checks separate from this feed. Its version information and package links do not define which older CLI versions your application supports.