Aggiornamento
kscript update installa l'ultima release se è più recente della tua:
| Comando | Cosa fa |
|---|---|
kscript update | Installa l'ultima release se è più recente. |
kscript update --check | Segnala solo se ce n'è una. |
kscript update --version v0.34.0 | Install a specific release. |
kscript update --no-ide | Non modificare l'estensione per l'editor. |
It replaces the binary in place. On Windows, the running kscript.exe is renamed to kscript.exe.old, and deleted the next time kscript starts. Set GITHUB_TOKEN to avoid GitHub's rate limit, such as on a shared CI runner.
kscript update aggiorna anche l'estensione per l'editor alla stessa release in ogni editor che già la contiene (VS Code, Insiders, Cursor, VSCodium e Windsurf), e ti dice quali ha aggiornato. Gli editor senza l'estensione non vengono toccati. Questo avviene anche quando il binario è già aggiornato, così un'estensione rimasta indietro viene allineata. --check segnala anche le estensioni obsolete, e --force le reinstalla. Ricarica la finestra dell'editor dopo.