# Help! Try to install does not work! Mac Catalina

**URL:** <https://forum.ionicframework.com/t/help-try-to-install-does-not-work-mac-catalina/186792>\
**Category:** Ionic Native\
**Created:** [April 7, 2020, 4:33pm UTC](https://forum.ionicframework.com/t/help-try-to-install-does-not-work-mac-catalina/186792 "2020-04-07T16:33:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fgarcia73](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@fgarcia73](https://forum.ionicframework.com/u/fgarcia73)\
**Post date:** [April 7, 2020, 4:33pm UTC](https://forum.ionicframework.com/t/help-try-to-install-does-not-work-mac-catalina/186792/1 "2020-04-07T16:33:09Z")

</div>

owner@Owners-MacBook-Air ~ % npm install -g @ionic/cli

npm WARN checkPermissions Missing write access to /usr/local/lib/node\_modules

npm ERR! code EACCES

npm ERR! syscall access

npm ERR! path /usr/local/lib/node\_modules

npm ERR! errno -13

npm ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node\_modules’

npm ERR! [Error: EACCES: permission denied, access ‘/usr/local/lib/node\_modules’] {

npm ERR! stack: “Error: EACCES: permission denied, access ‘/usr/local/lib/node\_modules’”,

npm ERR! errno: -13,

npm ERR! code: ‘EACCES’,

npm ERR! syscall: ‘access’,

npm ERR! path: ‘/usr/local/lib/node\_modules’

npm ERR! }

npm ERR!

npm ERR! The operation was rejected by your operating system.

npm ERR! It is likely you do not have the permissions to access this file as the current user

npm ERR!

npm ERR! If you believe this might be a permissions issue, please double-check the

npm ERR! permissions of the file and its containing directories, or try running

npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:

npm ERR! /Users/owner/.npm/\_logs/2020-04-07T16\_30\_17\_907Z-debug.log

owner@Owners-MacBook-Air ~ %

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [April 7, 2020, 6:56pm UTC](https://forum.ionicframework.com/t/help-try-to-install-does-not-work-mac-catalina/186792/2 "2020-04-07T18:56:38Z")

</div>

Before somebody suggests using `sudo`, please install [nvm](https://github.com/nvm-sh/nvm).

---

<div class="post-metadata">

**Author:** ![fgarcia73](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@fgarcia73](https://forum.ionicframework.com/u/fgarcia73)\
**Post date:** [April 7, 2020, 7:24pm UTC](https://forum.ionicframework.com/t/help-try-to-install-does-not-work-mac-catalina/186792/3 "2020-04-07T19:24:23Z")

</div>

Thank you!  
I tried the nvm and I got this message.

Sorry Im new here.

Last login: Tue Apr 7 15:17:15 on ttys000  
owner@Owners-MacBook-Air ~ % command -v nvm  
owner@Owners-MacBook-Air ~ % run  
zsh: command not found: run  
owner@Owners-MacBook-Air ~ % nvm install --lts  
zsh: command not found: nvm  
owner@Owners-MacBook-Air ~ % curl -o- [https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh](https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh) | bash  
% Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed  
100 13226 100 13226 0 0 22842 0 --:–:-- --:–:-- --:–:-- 22803  
=\> nvm is already installed in /Users/owner/.nvm, trying to update using git  
=\> =\> Compressing and cleaning up git repository

=\> Profile not found. Tried ~/.bashrc, ~/.bash\_profile, ~/.zshrc, and ~/.profile.  
=\> Create one of them and run this script again  
OR  
=\> Append the following lines to the correct file yourself:

export NVM\_DIR="$HOME/.nvm"  
[-s “$NVM\_DIR/nvm.sh”] && . “$NVM\_DIR/nvm.sh” # This loads nvm

=\> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM\_DIR="$HOME/.nvm"  
[-s “$NVM\_DIR/nvm.sh”] && . “$NVM\_DIR/nvm.sh” # This loads nvm  
owner@Owners-MacBook-Air ~ %  
owner@Owners-MacBook-Air ~ %  
owner@Owners-MacBook-Air ~ %  
owner@Owners-MacBook-Air ~ %  
owner@Owners-MacBook-Air ~ %

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [April 7, 2020, 7:27pm UTC](https://forum.ionicframework.com/t/help-try-to-install-does-not-work-mac-catalina/186792/4 "2020-04-07T19:27:43Z")

</div>

I don’t think I can improve on that message that is telling you how to update or create your shell’s profile file. Once you’ve done that, open a new terminal window and all should be well.
