Error when trying to install Ganache on Mac

Error when trying to install Ganache on Mac

When I put "npm install -g ganache-cli" I get this

When I put "npm install -g ganache-cli" I get this

npm WARN checkPermissions Missing write access to /Users/your_user/npm-global/lib/node_modules/ganache-cli npm WARN checkPermissions Missing write access to /Users/your_user/npm-global/lib/node_modules npm ERR! path /Users/your_user/npm-global/lib/node_modules/ganache-cli npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/Users/your_user/npm-global/lib/node_modules/ganache-cli' npm ERR! { [Error: EACCES: permission denied, access '/Users/your_user/npm-global/lib/node_modules/ganache-cli'] npm ERR! stack: npm ERR! "Error: EACCES: permission denied, access '/Users/your_user/npm-global/lib/node_modules/ganache-cli'", npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/Users/your_user/npm-global/lib/node_modules/ganache-cli' } 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 (though this is not recommended).

Can someone please help me with this?

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Top Blockchain Application Development Company

Codezeros is a top **[Blockchain solution and service provider](https://www.codezeros.com/ "Blockchain solution and service provider")** company which reinvents business with Blockchain solutions. Our Blockchain development solutions fortify the...

Top 10 Best Blockchain Programming Language for Blockchain Programmer

We aim at equipping you with every necessary knowledge of the best programming languages for blockchain and you'll learn more 10 Best Blockchain Programming Language for Programmer: C++, Java, Python, Ruby, Solidity, Go, JavaScript...

Blockchain Certification Training - Blockchain Course - Intellipaat

Enroll for Blockchain certification course online. Best Blockchain Training created with IBM to learn blockchain technology, Cryptocurrency, Bitcoin & become Blockchain Developer.