Check for a newer Sinch CLI and install it. Auto-update is off by default; see Updating for how it works.
When a command you ran in a terminal finishes successfully and that run's update check found a newer version, the CLI asks before it exits:
? Update available: 0.9.0 → 0.9.1. Install after this command finishes? (Y/n/always)| Answer | What happens |
|---|---|
Y or Enter | Installs the new version in the background after the CLI exits; it takes effect on a later run |
n | Skips this version. You are not asked or told about it again until a newer one ships |
always | Turns autoUpdate on, then installs as for Y |
Because you said yes, Y and always can install a minor update (0.8.2 → 0.9.0). Updates that autoUpdate installs without asking stay within the same minor. Ctrl+C at the prompt skips it for now, and you are asked again at the next check. The check runs at most every 30 minutes, so you are asked at most that often.
You get the "Update available" notice instead of the question when:
- the CLI was not installed with
npm install -g - npm itself is not in the global npm prefix the CLI was installed into
- automatic installs are paused for that release
- the update is a new major version, or you are on a
-dev.build - input is piped, or
SINCH_NO_AUTO_UPDATEis set - the command failed, or kept running until you stopped it (
sinch functions dev,--watch,--follow) - the command was
sinch config
sinch upgrade never asks: it reports what it found itself. To never be asked, set SINCH_NO_AUTO_UPDATE=1.
Check the registry now and act on the result.
sinch upgradeUnlike the background check that runs on every command, this ignores the 30-minute rate limit and the CI/non-TTY suppression, because you asked for it explicitly. It reports one of:
| Message | Meaning |
|---|---|
Already on the latest version | Nothing to do |
Update queued. It will install in the background... | A helper is installing it; effective on a later run |
Auto-update is off. Enable it with: sinch config set autoUpdate true | An update exists but you have not opted in |
This update crosses a minor version boundary... | Pre-1.0 the minor is where breaking changes live; update by hand when ready |
This CLI was not installed by npm globally... | Update it the way you installed it |
Automatic installs are paused for this release | Paused centrally; update by hand if you need it now |
The published version has no provenance attestation | Will not be installed automatically |
Could not reach the npm registry | Transient; try later |
Show what the CLI knows, without touching the network.
sinch upgrade --statusVersion: 0.5.8
Auto-update: on
Last checked: 2026-09-01T20:51:25.806Z
Pending: 0.5.9
Failures: 1Pending and Failures appear only when an install is in flight or has been failing. After three consecutive failures for the same version the CLI stops trying and falls back to notifying you.
Install output is appended to ~/.sinch/update.log, which is the first place to look if an update is not landing.
Both forms accept --json and print a single JSON document to stdout with no other output.
sinch upgrade --status --json{
"version": "0.5.8",
"autoUpdate": true,
"lastCheckedAt": "2026-09-01T20:51:25.806Z",
"pending": "0.5.9",
"consecutiveFailures": 1
}lastCheckedAt is null when the CLI has never checked. pending is omitted when there is no target.
sinch upgrade --json{ "version": "0.5.8", "outcome": "up-to-date" }outcome is one of up-to-date, spawned, skipped-in-flight, skipped-disabled, skipped-ineligible, skipped-not-global, skipped-killswitch, skipped-suppressed, skipped-rate-limited or failed.
- Updating
- Configuration for
autoUpdateand the environment variables



