Release Notes
Added
kley install --dev / -D flag: Added --dev (alias -D) flag to the install command, consistent with kley add --dev and the conventions of npm install --save-dev, pnpm add -D, and yarn add --dev. When used with a package name, the package is installed as a devDependency via the native package manager. When running kley install without arguments, the dev status of each package is auto-detected from package.json.
- Fast reinstall (skip PM when dependencies unchanged):
kley install <pkg> now detects when a package's dependencies and peerDependencies have not changed since the last install and skips the native package manager call entirely. Instead, files are copied directly from .kley/<pkg> to node_modules/<pkg>. This significantly speeds up iterative development workflows where only source code changes between publishes. Three sub-cases are handled:
- Symlink to
.kley/<pkg> (e.g. created by kley link or modern npm): no action needed, files are already up-to-date via the symlink.
- Symlink to an unknown location (e.g.
npm link): falls back to the package manager for safety.
- Regular directory: files are copied directly from
.kley/<pkg> to node_modules/<pkg>, no PM invocation.
- Absent (
node_modules/<pkg> missing): absent → slow path (PM), so the package manager can register the file: dependency in package.json.
A snapshot of dependencies and peerDependencies is stored in kley.lock after each package manager install and used for comparison on subsequent runs.
Install kley 0.10.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/sumbad/kley/releases/download/v0.10.0/kley-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/sumbad/kley/releases/download/v0.10.0/kley-installer.ps1 | iex"
Install prebuilt binaries into your npm project
npm install kley-cli@0.10.0
Download kley 0.10.0