We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eec93f2 commit 1a1a5f0Copy full SHA for 1a1a5f0
purge-nodes
@@ -0,0 +1,7 @@
1
+#!/bin/zsh
2
+
3
+local versions=( $(nvm ls | grep -v 'v20.12.0\|v18.20.0' | grep -Eo 'v[0-9]+\.[0-9]+\.[0-9]+' | xargs) )
4
+for version in "${versions[@]}"; do
5
+ nvm uninstall $version
6
+done
7
0 commit comments