GitPedia
antfu-collective

antfu-collective/ni

๐Ÿ’ก Use the right package manager

30 Releases
Latest: 1mo ago
v30.1.0Latest
github-actions[bot]github-actions[bot]ยท1mo agoยทApril 22, 2026
GitHub

โœจ    ๐Ÿš€ Features

  • Add `?` dry-run flag to `--help` output &nbsp;-&nbsp; by @rznn7 in https://github.com/antfu-collective/ni/issues/330 and https://github.com/antfu-collective/ni/issues/331 [<samp>(a3714)</samp>](https://github.com/antfu-collective/ni/commit/a3714a4)
  • Add --agent flag to print detected package manager name &nbsp;-&nbsp; by @Luc0-0 in https://github.com/antfu-collective/ni/issues/329 [<samp>(b11f1)</samp>](https://github.com/antfu-collective/ni/commit/b11f14d)
  • nr: Add noLastCommand config option &nbsp;-&nbsp; by @tomeelog, tomeelog and @antfu in https://github.com/antfu-collective/ni/issues/333 [<samp>(bb835)</samp>](https://github.com/antfu-collective/ni/commit/bb835f0)

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • Workspace flag parsing in nr command &nbsp;-&nbsp; by @buyuan-dev and @antfu in https://github.com/antfu-collective/ni/issues/325 [<samp>(6ec10)</samp>](https://github.com/antfu-collective/ni/commit/6ec10b4)
v30.0.0
github-actions[bot]github-actions[bot]ยท2mo agoยทMarch 23, 2026
GitHub

๐Ÿ’ฅ &nbsp;&nbsp;&nbsp;๐Ÿšจ Breaking Changes

  • Require node >=20.19.0 &nbsp;-&nbsp; by @sxzz [<samp>(0d1e7)</samp>](https://github.com/antfu-collective/ni/commit/0d1e7a3)

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Replace `ansis` with `node:util` styleText &nbsp;-&nbsp; by @sxzz in https://github.com/antfu-collective/ni/issues/324 [<samp>(41b51)</samp>](https://github.com/antfu-collective/ni/commit/41b5187)
  • Sort package.json dependencies alphabetically &nbsp;-&nbsp; by @antfu and Claude Haiku 4.5 in https://github.com/antfu-collective/ni/issues/327 [<samp>(23560)</samp>](https://github.com/antfu-collective/ni/commit/23560aa)
v29.0.0
github-actions[bot]github-actions[bot]ยท3mo agoยทMarch 13, 2026
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Add pnpm catalog support &nbsp;-&nbsp; by @antfu in https://github.com/antfu-collective/ni/issues/323 [<samp>(2c35b)</samp>](https://github.com/antfu-collective/ni/commit/2c35b08)
  • Switch to tsdown for build &nbsp;-&nbsp; by @antfu [<samp>(cab88)</samp>](https://github.com/antfu-collective/ni/commit/cab888a)
v28.3.0
github-actions[bot]github-actions[bot]ยท3mo agoยทMarch 6, 2026
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Support --programmatic flag from CLI args &nbsp;-&nbsp; by @neil-ac in https://github.com/antfu-collective/ni/issues/321 [<samp>(6f2da)</samp>](https://github.com/antfu-collective/ni/commit/6f2da72)
v28.2.0
github-actions[bot]github-actions[bot]ยท5mo agoยทJanuary 14, 2026
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Add onBeforeCommand to run tasks before agent detection &nbsp;-&nbsp; by @sushichan044 in https://github.com/antfu-collective/ni/issues/318 [<samp>(20f58)</samp>](https://github.com/antfu-collective/ni/commit/20f58ed)

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • nr: Prevent agent prompt when using completion flags &nbsp;-&nbsp; by @sushichan044 in https://github.com/antfu-collective/ni/issues/320 [<samp>(429cf)</samp>](https://github.com/antfu-collective/ni/commit/429cf62)
v28.1.0
github-actions[bot]github-actions[bot]ยท5mo agoยทJanuary 6, 2026
GitHub

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • nr: Correct node --run command structure &nbsp;-&nbsp; by @GoodbyeNJN in https://github.com/antfu-collective/ni/issues/317 [<samp>(81b19)</samp>](https://github.com/antfu-collective/ni/commit/81b1976)
v28.0.0
github-actions[bot]github-actions[bot]ยท6mo agoยทDecember 2, 2025
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • nr: Add Fish shell completion support &nbsp;-&nbsp; by @sotayamashita and Anthony Fu in https://github.com/antfu-collective/ni/issues/314 [<samp>(7718a)</samp>](https://github.com/antfu-collective/ni/commit/7718af4)
  • nun: Make `nun` multi-select by default &nbsp;-&nbsp; by @Wxh16144 in https://github.com/antfu-collective/ni/issues/312 [<samp>(63781)</samp>](https://github.com/antfu-collective/ni/commit/6378127)

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • nr: Handle ESC key cancellation in interactive mode &nbsp;-&nbsp; by @miyaoka in https://github.com/antfu-collective/ni/issues/307 [<samp>(7ad79)</samp>](https://github.com/antfu-collective/ni/commit/7ad799e)
v27.0.1
github-actions[bot]github-actions[bot]ยท7mo agoยทOctober 26, 2025
GitHub

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • Handle ctrl+c in interactive install + tests &nbsp;-&nbsp; by @tylersayshi in https://github.com/antfu-collective/ni/issues/305 [<samp>(9ffd8)</samp>](https://github.com/antfu-collective/ni/commit/9ffd871)
v27.0.0
github-actions[bot]github-actions[bot]ยท8mo agoยทOctober 19, 2025
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • New command `nd` &nbsp;-&nbsp; by @9romise in https://github.com/antfu-collective/ni/issues/302 [<samp>(3fd8a)</samp>](https://github.com/antfu-collective/ni/commit/3fd8a0d)
  • nr: Add support for Node.js --run flag &nbsp;-&nbsp; by @rznn7 in https://github.com/antfu-collective/ni/issues/300 [<samp>(3e894)</samp>](https://github.com/antfu-collective/ni/commit/3e89471)
v26.2.0
github-actions[bot]github-actions[bot]ยท8mo agoยทOctober 16, 2025
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Add sfw integration &nbsp;-&nbsp; by @rznn7 in https://github.com/antfu-collective/ni/issues/297 [<samp>(2f7dc)</samp>](https://github.com/antfu-collective/ni/commit/2f7dcb2)
  • bun: Support new interactive upgrade command &nbsp;-&nbsp; by @colinlienard in https://github.com/antfu-collective/ni/issues/301 [<samp>(49e8c)</samp>](https://github.com/antfu-collective/ni/commit/49e8c79)
v26.1.0
github-actions[bot]github-actions[bot]ยท8mo agoยทSeptember 30, 2025
GitHub

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • runner: Wait for child process before exit on `SIGINT` &nbsp;-&nbsp; by @liangmiQwQ in https://github.com/antfu-collective/ni/issues/294 [<samp>(181e1)</samp>](https://github.com/antfu-collective/ni/commit/181e1b7)
v26.0.1
github-actions[bot]github-actions[bot]ยท9mo agoยทSeptember 18, 2025
GitHub

*No significant changes* ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/antfu-collective/ni/compare/v26.0.0...v26.0.1)

v26.0.0
github-actions[bot]github-actions[bot]ยท9mo agoยทSeptember 18, 2025
GitHub

๐Ÿ’ฅ &nbsp;&nbsp;&nbsp;๐Ÿšจ Breaking Changes

  • Requires Node 20+, use OIDC &nbsp;-&nbsp; by @antfu [<samp>(212c2)</samp>](https://github.com/antfu-collective/ni/commit/212c28b)

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Support zsh completion &nbsp;-&nbsp; by @luoling8192 in https://github.com/antfu-collective/ni/issues/285 [<samp>(82611)</samp>](https://github.com/antfu-collective/ni/commit/82611c4)
  • Add comprehensive Deno test support &nbsp;-&nbsp; by @pyyupsk in https://github.com/antfu-collective/ni/issues/283 [<samp>(d2b3f)</samp>](https://github.com/antfu-collective/ni/commit/d2b3f4c)
  • nr: Support -p flag to filter monorepo package in completion &nbsp;-&nbsp; by @jinghaihan and @antfu in https://github.com/antfu-collective/ni/issues/290 [<samp>(3d097)</samp>](https://github.com/antfu-collective/ni/commit/3d09748)

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • De-duplicate last run command &nbsp;-&nbsp; by @Wxh16144 in https://github.com/antfu-collective/ni/issues/281 [<samp>(ef210)</samp>](https://github.com/antfu-collective/ni/commit/ef21075)
v25.0.0
github-actions[bot]github-actions[bot]ยท1y agoยทMay 27, 2025
GitHub

๐Ÿ’ฅ &nbsp;&nbsp;&nbsp;๐Ÿšจ Breaking Changes

  • Rename `nu` command to `nup` &nbsp;-&nbsp; by @KaBankz in https://github.com/antfu-collective/ni/issues/278 [<samp>(61043)</samp>](https://github.com/antfu-collective/ni/commit/6104332)
v24.4.0
github-actions[bot]github-actions[bot]ยท1y agoยทMay 16, 2025
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Detect pnpm-workspace.yaml &nbsp;-&nbsp; by @ianzone in https://github.com/antfu-collective/ni/issues/276 [<samp>(6f283)</samp>](https://github.com/antfu-collective/ni/commit/6f283cb)
  • Allow auto-install via env &nbsp;-&nbsp; by @albertodeago in https://github.com/antfu-collective/ni/issues/277 [<samp>(05139)</samp>](https://github.com/antfu-collective/ni/commit/05139bf)
v24.3.0
github-actions[bot]github-actions[bot]ยท1y agoยทMarch 20, 2025
GitHub

๐Ÿ’ฅ &nbsp;&nbsp;&nbsp;๐Ÿšจ Breaking Changes

  • Improve debug logging format for command execution &nbsp;-&nbsp; by @template-pro in https://github.com/antfu-collective/ni/issues/269 [<samp>(401f4)</samp>](https://github.com/antfu-collective/ni/commit/401f402)

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • Add warning for empty scripts &nbsp;-&nbsp; by @template-pro in https://github.com/antfu-collective/ni/issues/265 [<samp>(cb599)</samp>](https://github.com/antfu-collective/ni/commit/cb59993)
v24.2.0
github-actions[bot]github-actions[bot]ยท1y agoยทMarch 14, 2025
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Expose command entries &nbsp;-&nbsp; by @antfu [<samp>(e81fe)</samp>](https://github.com/antfu-collective/ni/commit/e81feb4)
v24.1.0
github-actions[bot]github-actions[bot]ยท1y agoยทMarch 10, 2025
GitHub

*No significant changes* ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/antfu-collective/ni/compare/v24.0.0...v24.1.0)

v24.0.0
github-actions[bot]github-actions[bot]ยท1y agoยทMarch 10, 2025
GitHub

๐Ÿ’ฅ &nbsp;&nbsp;&nbsp;๐Ÿšจ Breaking Changes

  • Drop CJS, now it's ESM-only &nbsp;-&nbsp; by @antfu [<samp>(b832b)</samp>](https://github.com/antfu-collective/ni/commit/b832b70)

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Replace picocolors with ansis &nbsp;-&nbsp; by @webdiscus in https://github.com/antfu-collective/ni/issues/259 [<samp>(a948b)</samp>](https://github.com/antfu-collective/ni/commit/a948b8b)
v23.3.1
github-actions[bot]github-actions[bot]ยท1y agoยทJanuary 30, 2025
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Support frozen production install &nbsp;-&nbsp; by @BorePlusPlus and @antfu in https://github.com/antfu-collective/ni/issues/255 [<samp>(e19af)</samp>](https://github.com/antfu-collective/ni/commit/e19af36)
v23.3.0
github-actions[bot]github-actions[bot]ยท1y agoยทJanuary 25, 2025
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Add support for production install &nbsp;-&nbsp; by @BorePlusPlus in https://github.com/antfu-collective/ni/issues/251 [<samp>(76d35)</samp>](https://github.com/antfu-collective/ni/commit/76d3540)
  • Add bash completion &nbsp;-&nbsp; by @sevenc-nanashi and @antfu in https://github.com/antfu-collective/ni/issues/241 [<samp>(54d8d)</samp>](https://github.com/antfu-collective/ni/commit/54d8dfb)
v23.2.0
github-actions[bot]github-actions[bot]ยท1y agoยทJanuary 9, 2025
GitHub

*No significant changes* ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/antfu-collective/ni/compare/v0.23.2...v23.2.0)

v0.23.2
github-actions[bot]github-actions[bot]ยท1y agoยทDecember 21, 2024
GitHub

*No significant changes* ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/antfu-collective/ni/compare/v0.23.1...v0.23.2)

v0.23.1
github-actions[bot]github-actions[bot]ยท1y agoยทNovember 19, 2024
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • nr: Add sorting configuration option to Fzf &nbsp;-&nbsp; by @levelio in https://github.com/antfu-collective/ni/issues/239 [<samp>(2c544)</samp>](https://github.com/antfu-collective/ni/commit/2c544a6)

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • Nr command lastRunCommand not work &nbsp;-&nbsp; by @levelio in https://github.com/antfu-collective/ni/issues/238 [<samp>(acb0f)</samp>](https://github.com/antfu-collective/ni/commit/acb0f7a)
v0.23.0
github-actions[bot]github-actions[bot]ยท1y agoยทAugust 27, 2024
GitHub

๐Ÿ’ฅ &nbsp;&nbsp;&nbsp;๐Ÿšจ Breaking Changes

  • `parseNi` etc. now return `ResolvedCommand` object instead of string, migrate to `tinyexec` &nbsp;-&nbsp; by @userquin, Ben McCann and @antfu in https://github.com/antfu-collective/ni/issues/231 [<samp>(3d323)</samp>](https://github.com/antfu-collective/ni/commit/3d32313)
v0.22.4
github-actions[bot]github-actions[bot]ยท1y agoยทAugust 14, 2024
GitHub

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • Revert to v0.22.1 &nbsp;-&nbsp; by @antfu [<samp>(69f95)</samp>](https://github.com/antfu-collective/ni/commit/69f959f)
v0.22.3
github-actions[bot]github-actions[bot]ยท1y agoยทAugust 14, 2024
GitHub

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • Move back to `@jsdevtools/ez-spawn`, fix #224 &nbsp;-&nbsp; by @antfu in https://github.com/antfu-collective/ni/issues/224 [<samp>(af1b1)</samp>](https://github.com/antfu-collective/ni/commit/af1b1be)
v0.22.2
github-actions[bot]github-actions[bot]ยท1y agoยทAugust 14, 2024
GitHub

*No significant changes* ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/antfu-collective/ni/compare/v0.22.1...v0.22.2)

v0.22.1
github-actions[bot]github-actions[bot]ยท1y agoยทAugust 9, 2024
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Support environment variables for ni config &nbsp;-&nbsp; by @ghostdevv and @antfu in https://github.com/antfu-collective/ni/issues/216 [<samp>(c408e)</samp>](https://github.com/antfu-collective/ni/commit/c408ee6)

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • `bun x` instead of `bunx` &nbsp;-&nbsp; by @MAttila42 in https://github.com/antfu-collective/ni/issues/219 [<samp>(13282)</samp>](https://github.com/antfu-collective/ni/commit/1328295)
v0.22.0
antfuantfuยท1y agoยทJuly 13, 2024
GitHub

โœจ &nbsp;&nbsp;&nbsp;๐Ÿš€ Features

  • Interactive package management &nbsp;-&nbsp; by @gearonix and @antfu in https://github.com/antfu-collective/ni/issues/202 [<samp>(7787a)</samp>](https://github.com/antfu-collective/ni/commit/7787a59)

๐Ÿ› &nbsp;&nbsp;&nbsp;๐Ÿž Bug Fixes

  • Packager detect tests are not running &nbsp;-&nbsp; by @zhyupe in https://github.com/antfu-collective/ni/issues/199 [<samp>(9fb5b)</samp>](https://github.com/antfu-collective/ni/commit/9fb5b2d)
  • bun: Incorrect bun frozen-lockfile command &nbsp;-&nbsp; by @mrsekut in https://github.com/antfu-collective/ni/issues/214 [<samp>(e0816)</samp>](https://github.com/antfu-collective/ni/commit/e0816f8)