diff --git a/nvm.sh b/nvm.sh index 9eeede2ac6c..d06bb9f8bed 100755 --- a/nvm.sh +++ b/nvm.sh @@ -748,6 +748,9 @@ nvm_remote_version() { "$(nvm_iojs_prefix)") VERSION="$(NVM_LTS="${NVM_LTS-}" nvm_ls_remote_iojs | command tail -1)" &&: ;; + "lts") + VERSION="$(NVM_LTS="lts/*" nvm_ls_remote | command tail -1)" &&: + ;; *) VERSION="$(NVM_LTS="${NVM_LTS-}" nvm_ls_remote "${PATTERN}")" &&: ;;