problem in the ionic installation

Hello, I encountered difficulties in installing ionic on my mac!

Could anyone help me please?

Seems like a permission error, you have a couple of options:

  • You need to install https://github.com/nvm-sh/nvm to manage node versions/permissions (highly recommend)
  • or you could be a cowboy and run sudo npm install -g ionic

I would advise the NVM route

1 Like

For Mac use sudo npm install -g ionic
refer this link

1 Like