diff --git a/src/freedombone-utils-nodejs b/src/freedombone-utils-nodejs
index 3ecc995ea90af6c32f739be1efea4e90e54cdb7a..a50b2eb7c0e7a36de72b6ac1f7b7318685cb5ce1 100755
--- a/src/freedombone-utils-nodejs
+++ b/src/freedombone-utils-nodejs
@@ -113,7 +113,7 @@ function upgrade_nodejs {
     CURR_NPM_VERSION=$(npm --version)
     CURR_N_VERSION=$(n --version)
     if [[ "$CURR_NPM_VERSION" != "$NPM_VERSION" ]]; then
-        npm install -g npm@${NPM_VERSION} --save
+        npm upgrade -g npm@${NPM_VERSION} --save
     fi
     if [[ "$CURR_N_VERSION" != "$NODEJS_N_VERSION" ]]; then
         npm upgrade -g n@${NODEJS_N_VERSION} --save