Skip to content

Installation

Chris Marsh edited this page Feb 15, 2021 · 13 revisions

Installation

Requirements

  • Bash v4.0.0+
  • Git (optional if installing by git clone)
  • Powerline fonts (optional but looks good)

PureLine can be installed by either git or zip download.

Git clone

To install PureLine with git:

$ git clone https://github.com/chris-marsh/pureline.git

Zip Download

To install Pureline by downling the zip file:

wget https://github.com/chris-marsh/pureline/archive/main.zip
unzip main.zip
mv ./pureline-main ./pureline

Powerline Fonts

PureLine can use special glyphs to get the arrow effect and some segments use can use custom symbols. This requires having either a symbol font or a patched font installed in the system. Your terminal emulator must also be configured to use a patched fonts

You can download PowerLine fonts from https://github.com/Lokaltog/powerline-fonts

Installing The Font

An example to manually install on linux for the current user

$ mkdir -p ~/.local/share/fonts
$ cd ~/.local/share/fonts
$ wget https://github.com/powerline/fonts/raw/master/Hack/Hack-Regular.ttf
$ mkfontdir; mkfontscale; fc-cache -vf # these commands may not be needed but do no harm :)

Alternatively you may find Powerline fonts in your Linux distributions package manager.

<< Pureline | Usage >>