From 55eafcd8146ff5d1068e9758db05639b2b4a0f44 Mon Sep 17 00:00:00 2001 From: Dena Burd Date: Mon, 27 Jul 2020 10:26:35 -0700 Subject: [PATCH] [New] add `nvm -v` as an alias for `nvm --version` Fixes #2200. --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index ce142f9..7f77000 100644 --- a/nvm.sh +++ b/nvm.sh @@ -3580,7 +3580,7 @@ nvm() { esac NVM_VERSION_ONLY=true NVM_LTS="${NVM_LTS-}" nvm_remote_version "${PATTERN:-node}" ;; - "--version") + "--version" | "-v") nvm_echo '0.35.3' ;; "unload")