Skip to main content

A small utility to automate \"uninstalling\" Node from Volta

Project description

VNU (Volta Node Uninstaller)

VNU is a simple utility to simplify the task of removing (or "uninstalling") Node from Volta. Volta, as of June 2nd, 2022 is still missing this functionality.

Why?

At work we we're thinking about implementing volta instead of n and one of the pushback reasons we got to not implement it was the inability to remove unused Node versions.

I took it upon myself to try and automate this seemingly trivial task. Enter VNU.

Usage

vnu -l will list all available Node versions on Volta.

vnu -V VERSION will uninstall VERSION or show matching versions based on regex, e.g.:

❯ vnu -V 10
VNU (Volta Node Uninstaller)
We found the following versions for 10. Which one would you like to uninstall?
1. 10.8.0
2. 10.23.1
3. 10.24.1
0. Cancel

Disclaimer

I'm not a programmer. I learn by doing and this is one of my small projects to help me do exactly that. What this means is - this project and the code within it might be ugly and could probably be implemented in a million of better ways. This is exactly why I am sharing this with you, the smart people of the internet.

I AM looking for feedback. I do want to improve this little utility for everyone with your assistance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vnu-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file vnu-0.1.0.tar.gz.

File metadata

  • Download URL: vnu-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.12 Darwin/21.5.0

File hashes

Hashes for vnu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ae84151861791b69c464d410c4784b9c03b457ca426d3df7977da9df76e47073
MD5 cdd2fbde84d0ea1ae7991293cec9ae65
BLAKE2b-256 15b174d78a1d8afed7232fead74f00db8f944e96f48cc32087054035d78d4594

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page