Skip to content

modern-magic/grm

Repository files navigation

Grm

A npm registry manger.

Use smaller dependencies than nrm.

Install

Using homebrew

$ brew install modern-magic/tap/grm
$ echo "unalias grm" >> ~/.bashrc # Optional。If other programs (such as 'git') use 'grm' as an alias.
$ source ~/.bashrc # or source ~/.zshrc

Using Go:

$ go install github.com/modern-magic/grm/cmd/grm@latest

Or you can download a binary from the releases page.

Usage

Usage: Grm [options] [command]

Options:
  -v, --version                           output the version number
  -h, --help                              output usage information

Commands:
  ls                                      List all the registries
  current                                 Show current registry name
  use <registry>                          Change registry to registry
  add <name> <registry> [home]            Add one custom registry
  del <name>                              Delete one custom registry by alias
  test [name]                             Test registry or registries speed by alias
  help                                    Print this help

Q & A

What is grm?

grm is a minimalist npm registry manager.

Why the need for a new nrm?

Installing nrm can be slow, and grm is much faster.

Why is it not so comprehensive

Because grm is only a source manager.

Why choose grm?

In comparison to nrm and nnrm grm is faster and does not require node.

Why do I get a virus report when I use the msi installation package?

We use upx to package grm. So some antivirus software will report it as a virus. But you can use it with confidence. grm is a poison free program :) (check the source if you don't trust us)

Why does it not work when I use the brew installation on linux?

In some distributions, git uses many aliases, including grm, so we need to run unalias grm in the .bashrc/.zshrc and then it will work.

All Contributors

Thanks to the following friends for their contributions to Grm:

contributors

Acknowledgements

Thanks to JetBrains for allocating free open-source licences for IDEs.

GoLand logo.

LICENSE

MIT

About

Minimalist npm registry manager (Use like Nrm)

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 5