A rust version ni.
ni - 💡 Use the right package manager
cargo install rni
ri
- install```bash ri
```
```bash ri vite
```
```bash ri -f
```
ri r
- run```bash ri r dev
```
Specially, you can use ri rd
to run scripts <agent> run dev
```bash ri r
```
ri un
- uninstall```bash ri un webpack
```
ri rm
to remove node_modules/**ri rl
to remove lockfile of current agent, like yarn.lock
/ pnpm-lock.yaml
/ package-lock.json
/ bun.lockb
you don't need to paste the url, just press enter
ri cl
full command: ri cl <url>
ri ps
- git pushri pl
- git pullri log
bash
git log --graph --oneline --decorate
ri info
- get package info of current directoryri repo
- open the browser to the package's repositoryri 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.