Updating
kscript update installs the latest release when it is newer than yours:
| Command | What it does |
|---|---|
kscript update | Install the latest release if it's newer. |
kscript update --check | Only report whether there is one. |
kscript update --version v0.34.0 | Install a specific release. |
kscript update --no-ide | Leave the editor extension alone. |
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 also brings the editor extension up to the same release in every editor that already has it (VS Code, Insiders, Cursor, VSCodium and Windsurf), and tells you which ones it updated. Editors without the extension are left alone. This happens even when the binary is already current, so an extension that fell behind is caught up. --check reports stale extensions too, and --force reinstalls them. Reload the editor window afterwards.