How to Install Shiori on macOS

Shiori is a simple command-line bookmark manager written in Go. In this tutorial, we will walk you through the steps to install Shiori on macOS.

Prerequisites

  • macOS operating system
  • Terminal application
  • Homebrew package manager

Installation Steps

  1. Install Homebrew by running the following command in your terminal:

     /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  2. After Homebrew is installed, run the following command to install Go programming language:

     brew install go
    
  3. Clone the Shiori repository from GitHub by running the following command:

     git clone https://github.com/go-shiori/shiori.git
    
  4. With the Shiori repository cloned, navigate to the shiori directory by running:

     cd shiori
    
  5. Now we need to build the Shiori binary file. To do this, run the following command:

     go build
    
  6. After the build process is complete, you should see a new file called shiori in the shiori directory. The next step is to copy this file to a location on your system's path so that you can execute it from anywhere.

    We will be copying this file to /usr/local/bin, which is a directory that is already included in your system's path. To do this, run:

     sudo cp shiori /usr/local/bin
    
  7. Verify that Shiori is installed correctly by running the following command:

     shiori -h
    

    You should see a list of available Shiori commands.

Congratulations! You have successfully installed Shiori on your macOS device. You can now start using it to manage your bookmarks.