diff --git a/internal/main.zsh b/internal/main.zsh index e0e0ddb..1c42ce7 100644 --- a/internal/main.zsh +++ b/internal/main.zsh @@ -20,4 +20,4 @@ nvm::internal::main::factory nvm::internal::nvm::load if ! core::exists curl; then core::install curl; fi -if ! core::exists nvm; then nvm::internal::nvm::install; fi +if ! command -v nvm > /dev/null ; then nvm::internal::nvm::install; fi \ No newline at end of file