# How to install open in Pinegrow on Atom on a mac

**URL:** <https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575>\
**Category:** Beginners\
**Created:** [October 2, 2020, 11:43pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575 "2020-10-02T23:43:32Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![kat](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/kat/32/2221_2.png) [@kat](https://forum.pinegrow.com/u/kat)\
**Post date:** [October 2, 2020, 11:43pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/1 "2020-10-02T23:43:32Z")

</div>

how do I get get and then install the “open in Pinegrow” package on Atom on a mac?

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [October 3, 2020, 12:48pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/2 "2020-10-03T12:48:17Z")

</div>

Hi @kat,  
Hope this helps.

> **[Atom and Pinegrow Web Editor, the Perfect IDE for the Web](https://pinegrow.com/pinegrow-atom.html)**

---

<div class="post-metadata">

**Author:** ![kat](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/kat/32/2221_2.png) [@kat](https://forum.pinegrow.com/u/kat)\
**Post date:** [October 3, 2020, 4:12pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/3 "2020-10-03T16:12:48Z")

</div>

Do I have to uninstall and reinstall the pinegrow-atom package if I close and then reopen atom or Pinegrow to get the APi [http://localhost:4000](http://localhost:4000)?

Pinegrow needed to be open to a project otherwise install in Atom I got an error message "Unable to connect to Pinegrow at [http://localhost:40001/editor](http://localhost:40001/editor)

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [October 4, 2020, 9:59am UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/4 "2020-10-04T09:59:33Z")

</div>

If I have Atom open and quit Pinegrow, or if I open Atom first, I’ll get a notice that Atom disconnected from PG or unable to connect to localhost.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/6/6cf2d86d71aeef06c976cdefcc9ae5128c502773.png)  
If I then open Pinegrow it will give me a connected message.  
[![](https://dl.dropboxusercontent.com/s/4a9b9it2620j26u/Screen%20Shot%202020-10-04%20at%205.57.19%20AM.png?dl=0) ](https://dl.dropboxusercontent.com/s/4a9b9it2620j26u/Screen%20Shot%202020-10-04%20at%205.57.19%20AM.png?dl=0)  
As long as you get the connected message you are fine.  
I assume you have your Internal webserver port set to 40000?  
Support -\> Settings -\>Internal Webserver ports  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/0/040e2e108f868d472adb94b7b9a6e025672b85d0.png)

---

<div class="post-metadata">

**Author:** ![kat](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/kat/32/2221_2.png) [@kat](https://forum.pinegrow.com/u/kat)\
**Post date:** [October 4, 2020, 3:58pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/5 "2020-10-04T15:58:16Z")

</div>

How do I sync Atom changes to PG, e.g, changes in index.html?  
Changes in PG do immediately sync to Atom.  
PG refresh button doesn’t work.  
The only way I can sync content from Atom to PG is to close and reopen the index.html in PG.

Yes, my localhost is 4000, and seems to be working

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [October 5, 2020, 9:52am UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/6 "2020-10-05T09:52:11Z")

</div>

Once connected it should be bi-directional without anything else needing to be done.

[https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/8/81198b29521063ecdc00fe8ba2a2204491d48dc1.mp4](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/8/81198b29521063ecdc00fe8ba2a2204491d48dc1.mp4)
  
Top is Pinegrow, bottom is Atom.  
Bob

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [October 6, 2020, 6:17pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/8 "2020-10-06T18:17:48Z")

</div>

Did you manage to solve this problem?

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [October 7, 2020, 9:31am UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/10 "2020-10-07T09:31:08Z")

</div>

We can try a little more trouble-shooting, but you will probably have to pull a ticket with Pinegrow support. [https://pinegrow.com/contact-us/](https://pinegrow.com/contact-us/)  
What PG version and Atom version are you using? Can you also post a screen shot of your Atom plugin settings page and your Pinegrow URL settings, please?

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [October 7, 2020, 4:52pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/11 "2020-10-07T16:52:30Z")

</div>

@kat Could you please try with VSC \> Visual Studio Code (instead of Atom) as a temporary workaround and keep us posted about your results?

Note: I confirm, we have received your support request.

---

<div class="post-metadata">

**Author:** ![kat](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/kat/32/2221_2.png) [@kat](https://forum.pinegrow.com/u/kat)\
**Post date:** [October 7, 2020, 7:43pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/12 "2020-10-07T19:43:54Z")

</div>

I’m sticking with Atom for the next couple weeks as I’m taking Wordpress courses and the instructors all use Atom.

After that I’ll be back to Bob’s PG tutorials and giving WP a try in PG, so I may not need an IDE.

Thanks for your prompt response.

Kat

---

<div class="post-metadata">

**Author:** ![kat](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/kat/32/2221_2.png) [@kat](https://forum.pinegrow.com/u/kat)\
**Post date:** [October 7, 2020, 10:02pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/13 "2020-10-07T22:02:31Z")

</div>

Same problem with VSC to PG changes are ok. VSC changes do not work in PG.  
I think error message is the similar to the one Atom.  
 ![Screen Shot 2020-10-07 at 3.00.19 PM](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/2/2fa7fb11fe60683b150ef2ceced5540347c64d76.png)

---

<div class="post-metadata">

**Author:** ![Thomas](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/thomas/32/61_2.png) [@Thomas](https://forum.pinegrow.com/u/Thomas)\
**Post date:** [October 8, 2020, 6:49am UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/14 "2020-10-08T06:49:41Z")

</div>

The error message says: “Code modified in external editor has **syntax errors** ”

Do you expect PG taking them (code (syntax) errors) over - or should you (preferably) expect entering code without syntax errors?

Could (but not necessarily must) be part of the problem?

Just an addition (mentioned by me elsewhere):

I’m using a mac-only app called CodeKit (more historically). CodeKit, amongst other things, refreshes each change in every browser automatically. Because PG is built on Browser-tech, it will be also refreshed. With this - I can take any Code-Editor - it will work a charm. In my case, I’m using Brackets as my preferred Code Editor. I tested it with Atom, Sublime, VSC and Brackets - code without syntax errors expected!

Cheers

Thomas

---

<div class="post-metadata">

**Author:** ![kat](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/kat/32/2221_2.png) [@kat](https://forum.pinegrow.com/u/kat)\
**Post date:** [October 13, 2020, 6:51pm UTC](https://forum.pinegrow.com/t/how-to-install-open-in-pinegrow-on-atom-on-a-mac/4575/15 "2020-10-13T18:51:42Z")

</div>

Atom is now working with Pinegrow on my `mcgraphics.us/WildMusic-starter`. I did install 4 ide packages on Atom. `mcgraphics.us/z` still doesn’t sync Atom to PG.

So glad to get back to Bob’s tutorials next week. I’m looking forward to seeing what PG can do with my Wordpress local dev.
