-
Notifications
You must be signed in to change notification settings - Fork 97
Installation
Chris Marsh edited this page Feb 15, 2021
·
13 revisions
- 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.
To install PureLine with git:
$ git clone https://github.com/chris-marsh/pureline.git
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
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
- DejaVu Sans Mono for Powerline is a popular choice
- The screenshots above use Hack for Powerline
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.