How to Install Gollum on macOS

Gollum is a simple, Git-powered wiki with a sweet API and local frontend for markdown documents. In this tutorial, we will guide you on how to install Gollum on macOS.

Prerequisites

Before proceeding to this tutorial, make sure you have the following prerequisites:

Installation

To install Gollum from the official GitHub repository, follow these steps:

  1. Open the Terminal app on your macOS system.

  2. Install the required dependencies by running the following command:

$ sudo gem install github-markdown org-ruby
  1. Install the Gollum gem by running the following command:
$ sudo gem install gollum
  1. Verify that Gollum was installed successfully by running the following command:
$ gollum --version

If the installation was successful, you will see the version number of the Gollum gem.

  1. Create a new Git repository where you will store your Gollum wiki files.
$ mkdir my-wiki
$ cd my-wiki
$ git init
  1. Create a new Gollum wiki by running the following command:
$ gollum

This will launch a Gollum server on your local machine, and the default web browser will open the Gollum homepage.

Conclusion

Congratulations! You have successfully installed Gollum on your macOS system. Now you can start creating and editing your markdown files using the Gollum browser-based interface. Enjoy!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!