# Can't install in Mac

**URL:** <https://community.hubspot.com/t/cant-install-in-mac/85147>\
**Category:** CMS Development\
**Tags:** free\
**Created:** [July 12, 2023, 7:47am UTC](https://community.hubspot.com/t/cant-install-in-mac/85147 "2023-07-12T07:47:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RalphEmbalsado](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@RalphEmbalsado](https://community.hubspot.com/u/RalphEmbalsado)\
**Post date:** [July 12, 2023, 7:47am UTC](https://community.hubspot.com/t/cant-install-in-mac/85147/1 "2023-07-12T07:47:41Z")

</div>

Super non-technical guy here and I can’t get over this installation issues. please help

 ![Screenshot 2023-07-12 at 2.40.27 PM.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/5/1523f29fab51603ef394ee75344c03e03fd56ff1.jpeg)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 13, 2023, 6:27pm UTC](https://community.hubspot.com/t/cant-install-in-mac/85147/2 "2023-07-13T18:27:03Z")

</div>

Hi, @RalphEmbalsado 👋 Welcome to our community. Thanks for your question.

Diagnosing permission-based errors like EACCES is challenging. Hopefully, the community can help get you closer or rule out some common roadblocks.

Please ensure you have tried both of these steps. Even if you tried one or the other, it cannot hurt to do both, if needed, one more time.

- [Manually change npm’s default directory](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally#manually-change-npms-default-directory)
- [Using a Node version manager to install Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)

Please note: Neither of these steps requires you to uninstall anything beforehand — [Source](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally#:~:text=You%20do%20not%20need%20to%20remove%20your%20current%20version%20of%20npm%20or%20Node.js%20before%20installing%20a%20node%20version%20manager.). Just follow the steps. Save anything required. Power your system down. And reopen anew. That’s how I do it. Just in case anything needs to be updated or get settled after making changes.

Hey, @Anton @Indra @Jnix284 @BarryGrennan, do you have any tips you can provide to our friend @RalphEmbalsado?

If after trying these steps, you’re still experiencing the issue, don’t hesitate to come back and let us know.

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![RalphEmbalsado](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@RalphEmbalsado](https://community.hubspot.com/u/RalphEmbalsado)\
**Post date:** [July 14, 2023, 4:06pm UTC](https://community.hubspot.com/t/cant-install-in-mac/85147/3 "2023-07-14T16:06:33Z")

</div>

Hey - i found something online and it fixed my problem. thanks!

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [July 14, 2023, 6:07pm UTC](https://community.hubspot.com/t/cant-install-in-mac/85147/4 "2023-07-14T18:07:14Z")

</div>

I’m glad you could get it working @RalphEmbalsado , would you mind sharing the link to the resource you found so others reading the thread know where to go?

---

<div class="post-metadata">

**Author:** ![RalphEmbalsado](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@RalphEmbalsado](https://community.hubspot.com/u/RalphEmbalsado)\
**Post date:** [July 15, 2023, 1:58am UTC](https://community.hubspot.com/t/cant-install-in-mac/85147/5 "2023-07-15T01:58:20Z")

</div>

Sure. I got this link from a reply made by [https://community.hubspot.com/t5/user/viewprofilepage/user-id/492045](https://community.hubspot.com/t5/user/viewprofilepage/user-id/492045). He deserved all the credit.

I fixed the issue via this ;link \>\> [https://letscodepare.com/blog/npm-resolving-eacces-permissions-denied](https://letscodepare.com/blog/npm-resolving-eacces-permissions-denied)

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [July 16, 2023, 3:59pm UTC](https://community.hubspot.com/t/cant-install-in-mac/85147/6 "2023-07-16T15:59:19Z")

</div>

@RalphEmbalsado awesome, thank you!

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [July 13, 2023, 10:56pm UTC](https://community.hubspot.com/t/cant-install-in-mac/85147/7 "2023-07-13T22:56:13Z")

</div>

Hi @RalphEmbalsado,

just to make sure - you have installed [Node.js](https://nodejs.org/en), right?

If it’s your private maschine - try

`sudo npm install -g @hubspot/cli`

prepending “sudo” to your command means running it as admin/“sledgehammer method”. It can fix some things but shouldn’t be the way to go. So don’t overuse it.

If it’s not your maschine - please contact your IT admin so he/she installs everything for you.

hope that helps,

best,

Anton
