Removing the NPM spinner

npm

One of the most annoying features of npm for me is the spinner. Many times it runs long enough that I am wondering if it is still working or hung. Thankfully you can easily change this with the .npmrc file.

  1. On Linux/OSx, create the file ~/.npmrc
  2. On Windows, create the file %USERPROFILE%/.npmrc
  3. Add the 2 lines below to the file

    spin=false  
    loglevel=http
    
  4. Save the file

  5. Close your command prompt/terminal and reopen it.

  6. Run an npm install command and you will see log messages instead of the spinner.

Share Post: