Download Latest Version krnr_1.2.9_windows_amd64.zip (3.8 MB)
Email in envelope

Get an email when there's a new version of krnr

Home / v1.2.8
Name Modified Size InfoDownloads / Week
Parent folder
krnr_1.2.8_windows_installer.msi 2026-02-20 7.6 MB
krnr_1.2.8_checksums.txt 2026-02-20 948 Bytes
krnr_1.2.8_linux_amd64.deb 2026-02-20 3.7 MB
krnr_1.2.8_linux_arm64.deb 2026-02-20 3.4 MB
krnr_1.2.8_darwin_arm64.tar.gz 2026-02-20 3.5 MB
krnr_1.2.8_linux_amd64.rpm 2026-02-20 3.8 MB
krnr_1.2.8_linux_arm64.rpm 2026-02-20 3.5 MB
krnr_1.2.8_windows_arm64.zip 2026-02-20 3.5 MB
krnr_1.2.8_darwin_amd64.tar.gz 2026-02-20 3.7 MB
krnr_1.2.8_linux_amd64.tar.gz 2026-02-20 3.7 MB
krnr_1.2.8_linux_arm64.tar.gz 2026-02-20 3.4 MB
krnr_1.2.8_windows_amd64.zip 2026-02-20 3.8 MB
README.md 2026-02-20 1.7 kB
v1.2.8 source code.tar.gz 2026-02-20 4.8 MB
v1.2.8 source code.zip 2026-02-20 4.9 MB
Totals: 15 Items   53.4 MB 0

v1.2.8 - 2026-02-20

This patch improves installer robustness when the installer is executed under sudo but a per-user install is requested. It ensures recorded metadata and installed files are visible and removable by the original invoking user.

Bug fixes

Correct metadata ownership for sudo→user installs

When krnr install runs under sudo and the user chooses a user install, metadata and PATH modifications were sometimes recorded under root and not visible to the invoking user.

Fix: the installer writes a copy of the install metadata into the original user's ~/.krnr (when SUDO_USER is set) and ensures the metadata file and related directories are owned by that user. This allows krnr status and krnr uninstall to work when run later as the normal user.

Ensure installed binary ownership and uninstallability

Binaries installed by root into a user's directory are now chowned to the target user so subsequent non-root krnr uninstall works as expected.

Status & reinstall fixes

krnr status now respects recorded AddedToPath so it reports on PATH: true immediately after add-to-PATH installs. Reinstall-after-uninstall under sudo no longer leaves stale or unreadable metadata.

Tests & docs

  • Added unit tests for SUDO_USER install/uninstall/reinstall and metadata-based status inference.
  • Documented sudo→user installer behavior in docs/install.md.

Upgrade notes

No DB or CLI-breaking changes. Upgrade to v1.2.8 to receive installer fixes.

Download krnr

Source: README.md, updated 2026-02-20