# I can't install node-red-contrib-modbus in MAC

**URL:** <https://discourse.nodered.org/t/i-cant-install-node-red-contrib-modbus-in-mac/75786>\
**Category:** General\
**Tags:** node-red-dashboard, modbus\
**Created:** [27 February 2023 05:16 UTC](https://discourse.nodered.org/t/i-cant-install-node-red-contrib-modbus-in-mac/75786 "2023-02-27T05:16:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lim](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@Lim](https://discourse.nodered.org/u/Lim)\
**Post date:** [27 February 2023 05:16 UTC](https://discourse.nodered.org/t/i-cant-install-node-red-contrib-modbus-in-mac/75786/1 "2023-02-27T05:16:15Z")

</div>

For some reasons, I can't install node-red-contrib-modbus into MAC. I tried to install using the command ofnpm install -g node-red-contrib-modbus. Then the message says that I don't have access permission

 ![Screenshot 2023-02-27 at 1.13.01 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/2/129753d9b351a2dc5074c323d7caa52074ba7b06.jpeg)

---

<div class="post-metadata">

**Author:** ![Josh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josh/32/62208_2.png) [@Josh](https://discourse.nodered.org/u/Josh)\
**Post date:** [27 February 2023 05:25 UTC](https://discourse.nodered.org/t/i-cant-install-node-red-contrib-modbus-in-mac/75786/2 "2023-02-27T05:25:57Z")

</div>

Hi @Lim Welcome to the community !!!1  
I Guess you have posted the question directly in the topic header. Going forward please follow [[Get involved : Node-RED](https://nodered.org/about/community/#discussion-guidelines)] ([Get involved : Node-RED](https://nodered.org/about/community/#discussion-guidelines)) guidelines for better responses.

To answer you question:  
If its an access permission, I would encourage you to contact your administrator for assistance. Anyways please refer to this link and follow the same [node-red-contrib-modbus (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-modbus)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 February 2023 09:38 UTC](https://discourse.nodered.org/t/i-cant-install-node-red-contrib-modbus-in-mac/75786/3 "2023-02-27T09:38:02Z")

</div>

Why are you trying to install it globally? That is generally not the correct way.

Go into your .node-red folder (or wherever your flows file is) and run  
`npm install node-red-contrib-modbus`

In future please don't post screenshots. Copy/paste the text here.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 April 2023 09:38 UTC](https://discourse.nodered.org/t/i-cant-install-node-red-contrib-modbus-in-mac/75786/4 "2023-04-28T09:38:43Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
