generated from boneskull/boneskull-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
301 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
# boneskull-template | ||
# nvmermind | ||
|
||
> JUST THE WAY I LIKE IT | ||
> Uninstall old versions of Node.js as installed by [nvm](https://github.com/nvm-sh/nvm) | ||
Bacon ipsum dolor amet fatback swine hamburger ham short loin, brisket leberkas alcatra tenderloin filet mignon kevin frankfurter t-bone cupim turducken. | ||
If you have a stinking bonepile of old Node.js versions in your `~/.nvm` folder, this script helps remove them nicely. | ||
|
||
## Install | ||
|
||
```shell | ||
$ npm install PACKAGENAME | ||
``` | ||
You _could_ install this, but maybe better to... | ||
|
||
## Usage | ||
|
||
Alcatra pancetta meatball, leberkas ball tip cupim drumstick tongue strip steak. | ||
Run: | ||
|
||
```bash | ||
npx nvmermind | ||
``` | ||
|
||
`nvmermind` will keep the **latest installed version of _each_ major** it finds, and prompt to remove all the others. So, if you have `14.16.1` and `14.17.0` installed, it will keep `14.17.0`. | ||
|
||
As of | ||
|
||
### API | ||
|
||
There's an "API." You can `require('nvmermind')`, but I don't feel like documenting it. Maybe next week? There are some docstrings, which is better than nothing. | ||
|
||
### Usage Notes | ||
|
||
- Removal uses `nvm uninstall`, which does its thing safely (_read_: slowly). | ||
- `nvmermind` accepts no options, arguments, flags, cards, cash or checks. | ||
|
||
## Notes | ||
## Acknowledgments | ||
|
||
Bacon ribeye ham hock kielbasa landjaeger drumstick pork chop andouille. | ||
- I stole some code from Wes Todd's [nvmjs](https://github.com/wesleytodd/nvmjs). I should probably send a PR. | ||
|
||
## License | ||
|
||
Copyright © 2019 Christopher Hiller. Licensed Apache-2.0 | ||
Copyright © 2021 Christopher Hiller. Licensed Apache-2.0 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.