| Crates.io | nrs-cli |
| lib.rs | nrs-cli |
| version | 0.1.1 |
| created_at | 2025-06-16 07:34:23.063925+00 |
| updated_at | 2025-06-17 12:49:42.499716+00 |
| description | A CLI written in Rust to manage multiple Node.js registries easily and efficiently. |
| homepage | https://github.com/Dantescur/nrs |
| repository | https://github.com/Dantescur/nrs |
| max_upload_size | |
| id | 1714019 |
| size | 82,550 |
A CLI written in Rust to manage multiple Node.js registries easily and efficiently.
npm, yarn, taobao, github, etc.).~/.nrsrc and modifies ~/.npmrc.cargo install nrs
Or if you prefer to build yourself
git clone https://github.com/Dantescur/nrs
cd nrs
cargo build --release
nrs ls # List all registries
nrs use npm # Use the "npm" registry
nrs add myreg https://custom.registry.com/ # Add a new registry
nrs remove myreg # Remove a registry
nrs current # Show the current registry
nrs test # Test ping for all listed registries
nrs show # Show the current .npmrc file
Install autocompletition for bash/zsh/fish/elvish and powershell:
nrs complete
~/.nrsrc: Persistent file config for the cli.
~/.npmrc: The npm config file
This project is published under MIT License