Powerline – Adds Powerful Statuslines and Prompts to Vim Editor and Bash Terminal

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

35 Responses

  1. The Linux Evangelist says:

    You forgot to mention to install setuptools using

    sudo apt-get install python-setuptools
    sudo yum install python-setuptools
    sudo dnf install python-setuptools

    Without setuptools, you wont be able to install powerline

  2. Hein Htet Aung says:

    Ok, fixed it. The problem is I don’t have .vimrc. So, I created .vimrc and added those lines. And then, my vim editor color scheme is lost. Delete .vimrc and it’s back again. So, I add the lines for .vimrc to “/etc/vim/vimrc”. And everything is fine. :)

  3. Hein Htet Aung says:

    After installing powerline, my vim color scheme is lost. How can I get back to original color scheme?

  4. Lenny says:

    I had a problem with vim displaying UTF-8 placeholder characters in odd places, and the HOME and END keys misbehaving (printing ‘H’, ‘F’, and making newlines). This was fixed by specifying “set term=xterm-256color” in .vimrc to override “screen-256color”. Using Ubuntu / Terminator & Guake / bash.

    I also played with setting xterm-256color in .bashrc, and didn’t see any issues.

  5. Victor Ong says:

    hi Ravi,

    Possible to provide guide to uninstall Powerline too? Its giving issue.

    • Ravi Saive says:


      To uninstall packages installed using pip, just type following command to remove powerline from the system.

      # pip uninstall package-name
  6. Omar says:

    i have a probleme……when a finish the tutorial and i exit and start the terminal
    i see this message : bash: ./usr/local/lib/python3.4/dist-packages/powerline/bindings/bash/powerline.sh: No such file or directory

    • Ravi Saive says:


      If you’ve installed powerline using pip you must add the path variable to .bashrc file where pip puts scripts to $PATH.

      First make sure to find out your powerline location using:

      # pip show powerline-status

      You will see something like:

      Location: /usr/local/lib/python2.7/dist-packages

      Now add the following line to your .bashrc file as shown:

  7. Paulo says:

    No problems. But why you deleted powerline? It’s so nice with vim! Did you found something better? Anyway, i just want change the color highlight red that is too heavy. I can’t see the pieces of code with red color. Thanks.

    • Ravi Saive says:


      I just installed the powerline for testing purpose only, yes it is good, but I prefer vim with plain text…:)

  8. Paulo says:

    Ravi can you show me how as was your complete vimrc.? I am Elementary OS user.

    • Ravi Saive says:


      Sorry, you’re too late actually I removed powerline from my laptop, but could you tell me what exactly you looking for?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?