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
Install Homebrew by running the following command in your terminal:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"After Homebrew is installed, run the following command to install Go programming language:
brew install goClone the Shiori repository from GitHub by running the following command:
git clone https://github.com/go-shiori/shiori.gitWith the Shiori repository cloned, navigate to the shiori directory by running:
cd shioriNow we need to build the Shiori binary file. To do this, run the following command:
go buildAfter the build process is complete, you should see a new file called
shioriin 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/binVerify that Shiori is installed correctly by running the following command:
shiori -hYou 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.