Npm cannot be partially installed. What is the matter?

  node.js, question

After being set with npm set global=false
Npm get global is still equal to true, what’s going on?
I have been working on it for a long time, but it has no effect. Every installation is a global one.

Use npmconfiles to look at the global settings and files, then find the path to the. npmrc file, delete the file or edit the global=true = false in vim.