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:
- macOS installed
- Basic knowledge of Terminal and the command line
- Ruby installed on your system
Installation
To install Gollum from the official GitHub repository, follow these steps:
Open the Terminal app on your macOS system.
Install the required dependencies by running the following command:
$ sudo gem install github-markdown org-ruby
- Install the Gollum gem by running the following command:
$ sudo gem install gollum
- 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.
- Create a new Git repository where you will store your Gollum wiki files.
$ mkdir my-wiki
$ cd my-wiki
$ git init
- 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!