Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.22 KB

INSTALL.md

File metadata and controls

66 lines (43 loc) · 1.22 KB

How to Rime with Squirrel

Instructions to build Squirrel - the Rime frontend for macOS

Manually build and install Squirrel

Prerequisites

If you haven't already got the Xcode toolchain, install Xcode Command Line Tools:

xcode-select --install

Install dependencies with Homebrew:

Optional: set the USTC mirror to speed up the brew install process in mainland China.

# dev tools:
brew install cmake
brew install git

# libraries:
brew install boost

You can also install them with MacPorts:

port install cmake git
port install boost -no_static

If you've built Boost manually instead of installing it with Homebrew or MacPorts, please set BOOST_ROOT to its top level directory in the terminal.

Checkout the code

git clone --recursive https://github.com/rime/squirrel.git

Build dependencies

Build librime, dependent third-party libraries and data files:

make deps

Build Squirrel

make

Install it on your Mac

Once built, you can install and try it live:

sudo make install

That's it. Thanks for riming with Squirrel.