KScript docs
EN

Install and editors

Updating

kscript update installs the latest release when it is newer than yours:

CommandWhat it does
kscript updateInstall the latest release if it's newer.
kscript update --checkOnly report whether there is one.
kscript update --version v0.34.0Install a specific release.
kscript update --no-ideLeave 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.

Edit this page on GitHub