# Please help, how do I install Discourse on macOS?

**URL:** https://meta.discourse.org/t/please-help-how-do-i-install-discourse-on-macos/181247
**Category:** Development
**Created:** [February 26, 2021, 5:25pm UTC](https://meta.discourse.org/t/please-help-how-do-i-install-discourse-on-macos/181247 "2021-02-26T17:25:32Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Replicationz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/replicationz/32/211309_2.png) [@Replicationz](https://meta.discourse.org/u/Replicationz)
#### Post date: [February 26, 2021, 5:25pm UTC](https://meta.discourse.org/t/please-help-how-do-i-install-discourse-on-macos/181247/1 "2021-02-26T17:25:33Z")

</div>

So basically I have this StackOverflow post talking about this: [https://stackoverflow.com/questions/66376203/i-am-trying-to-setup-discourse-for-macos-but-i-get-an-error](https://stackoverflow.com/questions/66376203/i-am-trying-to-setup-discourse-for-macos-but-i-get-an-error)

But I get a bundler error that says:

```plaintext
An error occurred while installing openssl (2.2.0), and Bundler cannot
continue.
Make sure that `gem install openssl -v '2.2.0' --source 'https://rubygems.org/'`
succeeds before bundling.

```

I can’t fix this but also here is another question, how would I put this on my website? Like how would I 24/7 host this on my website without paying anything?

---

<div class="post-metadata">

### Author: ![anon82467725](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@anon82467725](https://meta.discourse.org/u/anon82467725)
#### Post date: [February 26, 2021, 10:03pm UTC](https://meta.discourse.org/t/please-help-how-do-i-install-discourse-on-macos/181247/2 "2021-02-26T22:03:55Z")

</div>

I believe that you can only install Discourse on macOS for development purposes. Please correct me if I’m wrong though.

> [@Install Discourse on macOS for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-macos-for-development/15772):
>
> warning This guide covers installation instructions for a macOS development environment, for production guides see: [Install Discourse in production with the official supported instructions](https://meta.discourse.org/t/how-to-install-discourse-in-production/142537) So you want to set up Discourse on macOS to hack on and develop with? We’ll assume that you don’t have Ruby/Rails/Postgres/Redis installed on your Mac. Let’s begin rocket ! Install Discourse Dependencies You will need the following packages on your system: [Git](http://git-scm.com/)[rbenv](https://github.com/sstephenson/rbenv) or [asdf](https://asdf-vm.com/guide/getting-started.html)[ruby-build](https://github.com/sstephenson/ruby-build)[Ruby](https://www.ruby-lang.org/) (latest s…

---

<div class="post-metadata">

### Author: ![danb35](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@danb35](https://meta.discourse.org/u/danb35)
#### Post date: [February 27, 2021, 11:23am UTC](https://meta.discourse.org/t/please-help-how-do-i-install-discourse-on-macos/181247/3 "2021-02-27T11:23:59Z")

</div>

> [@Replicationz](#):
>
> Like how would I 24/7 host this on my website without paying anything?

I doubt anyone can help you here without knowing a lot more about “my website”, but there have been reports here that it’s possible to self-host Discourse for free with Oracle–some searching around should find a guide. From there, it should be possible to integrate it with your site.

If you wanted an installation of Discourse on your own personal computer to be available on the Internet 24x7, that would require that your personal computer be powered on 24x7 and open to the Internet. Not really a good idea.

---

<div class="post-metadata">

### Author: ![Replicationz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/replicationz/32/211309_2.png) [@Replicationz](https://meta.discourse.org/u/Replicationz)
#### Post date: [February 27, 2021, 7:36pm UTC](https://meta.discourse.org/t/please-help-how-do-i-install-discourse-on-macos/181247/4 "2021-02-27T19:36:47Z")

</div>

This is what tutorial I used. this is what got me stuck.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [February 28, 2021, 2:00am UTC](https://meta.discourse.org/t/please-help-how-do-i-install-discourse-on-macos/181247/5 "2021-02-28T02:00:22Z")

</div>

Please refer to the official documentation, it’s the only thing we can assist you with here.

If you’re planning to install on a server for other users to access [this is the installation](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) you would need to follow.

The [standard install](https://meta.discourse.org/t/142537?silent=true) uses docker and can be completed in less than 30 minutes.

If you’re going to be using Discourse for development purposes, to create plugins, themes or anything else development installs exist for [Ubuntu](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727), [Windows](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-windows-10-for-development/75149) and [macOS](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-macos-for-development/15772)

> [@Replicationz](#):
>
> how would I put this on my website? Like how would I 24/7 host this on my website without paying anything?

It depends on where and how your website is hosted. If you already have a VPS and can access it via SSH then you may be able to install Discourse there directly.

Some users have had success with [Oracle Cloud](https://meta.discourse.org/t/self-hosting-for-free-with-oracle-cloud/139184) installing Discourse on the free tier, but the provided server doesn’t meet the minimum requirements for the standard installation.

---

<div class="post-metadata">

### Author: ![Replicationz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/replicationz/32/211309_2.png) [@Replicationz](https://meta.discourse.org/u/Replicationz)
#### Post date: [March 24, 2021, 12:30pm UTC](https://meta.discourse.org/t/please-help-how-do-i-install-discourse-on-macos/181247/6 "2021-03-24T12:30:05Z")

</div>

My docker doesn’t seem to work either. Man, this sucks. I’ll post another thread about this with more debugging info.
