Skip to content

0.6.0 - 2026-04-30

Choose a tag to compare

@github-actions github-actions released this 30 Apr 17:26

Release Notes

Added

  • install Command: Implemented kley install <package-name> (alias i) — a one-step command that combines add and native package manager installation. It detects the project's package manager, copies the package to .kley/, updates kley.lock, and delegates the final installation to npm, pnpm, or yarn.
  • Package Manager Detection: Implemented a robust mechanism to detect the project's package manager (npm, pnpm, yarn). The detection logic prioritizes kley.lock, then package.json, and finally lock files.
  • KLEY_USE_*_COMMAND Environment Variables: Added KLEY_USE_NPM_COMMAND, KLEY_USE_PNPM_COMMAND, and KLEY_USE_YARN_COMMAND to override the default package manager executables. Useful for users with non-standard setups (e.g., volta, nvm).

Changed

  • Package Struct: Introduced a new central Package struct to encapsulate project information (package.json, kley.lock, and detected package manager), improving code structure.
  • Refactored validation logic: Extracted package_name_version_parse and validate_version_in_registry from add into utils, now shared with install.

Install kley 0.6.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/sumbad/kley/releases/download/v0.6.0/kley-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/sumbad/kley/releases/download/v0.6.0/kley-installer.ps1 | iex"

Install prebuilt binaries into your npm project

npm install kley-cli@0.6.0

Download kley 0.6.0

File Platform Checksum
kley-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
kley-x86_64-apple-darwin.tar.xz Intel macOS checksum
kley-x86_64-pc-windows-msvc.zip x64 Windows checksum
kley-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
kley-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum