# Install Discourse on macOS for development

**URL:** https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772
**Category:** Developer Guides
**Tags:** dev-install, how-to
**Created:** [May 19, 2014, 4:59pm UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772 "2014-05-19T16:59:50Z")
**Posts on this page:** 1
**Showing post:** 302

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [November 5, 2021, 11:28pm UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/302 "2021-11-05T23:28:36Z")

</div>

They’re fine asking here.

There are some [specific m1 instructions we wrote that we reference on the rails forum](https://discuss.rubyonrails.org/t/tips-and-tricks-for-developing-rails-applications-on-apple-silicon/77089) in this guide.

> [@Decorbuz](#):
>
> This is probably a very “newbie” question, but how do I “point” to the experimental branch that was linked in that topic?

I’d have to look on my m1 air later, and maybe my fellow coworks who recently setup new macs might know better if this is even still needed, but there is an example of how to point to a branch in step 7:

```plaintext
gem 'mini_racer', github: 'rubyjs/mini_racer', branch: 'refs/pull/186/head'

```

So you would edit this line in your local version of discourse/Gemfile:

> <https://github.com/discourse/discourse/blob/main/Gemfile#L126>

and then run `bundle install`.

---

_[View the full topic](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772)._
