rni

A rust version ni.

ni - use the right package manager


cargo install rni

npm · yarn · pnpm · bun


rni - install

```bash rni

npm install

yarn install

pnpm install

bun install

```

```bash rni vite

npm i vite

yarn add vite

pnpm add vite

bun add vite

```


How?

rni assumes that you work with lockfiles (and you should)

Before it runs, it will detect your yarn.lock / pnpm-lock.yaml / package-lock.json / bun.lockb to know current package manager (or packageManager field in your packages.json if specified), and runs the corresponding commands.