Topic: Cannot install NPM on my MAC. The operation was rejected by operating system
                  
                  dthomas31uk
                  free
                  asked 3 years ago
                
Expected behavior
Trying to install NPM on my MAC.  Have installed node.js and went to terminal and entered npm -v and nothing happened.  I then tried npm install -g mdb-cli
Actual behavior
Please see screenshot, thank
Resources (screenshots, code snippets etc.)
                      
                      dthomas31uk
                      free
                        answered 3 years ago
                    
Thanks for coming back to me.  Tried the sudo npm install -g mdb-cli
I got this back.  See attached.  Thanks
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
 - Premium support: No
 - Technology: MDB Standard
 - MDB Version: MDB5 3.10.1
 - Device: MAC
 - Browser: Chrome
 - OS: Big Sur
 - Provided sample code: No
 - Provided link: No
 
Sebastian Kaczmarek staff commented 3 years ago
Have you tried using sudo?
sudo npm install -g mdb-cli