How to Manage Browser Bookmarks from the Ubuntu Command Line

Browser bookmarks, though not discussed as often as they should be, are an integral part of browsing the Internet. Without good bookmark functionality, a website might be lost in time, and the ability to revisit it gone. That’s why it’s really important to have a good bookmark manager.

All modern web browsers offer up some form of management tool, though they seriously lack in features. If you’ve grown tired of these mainstream tools that have been packed into your browser, you might want to seek out an alternative. Introducing Buku: the command line-based bookmark manager. It has the ability to not only manage your bookmarks, but it can encrypt them, hold them in a database, and more. Here’s how to get going with it!



Buku isn’t very popular. As a result, users will need to build it to use it. Still, installing it and getting it going on Ubuntu is a lot easier than it looks. Start by opening the terminal and using apt to install git and python3, as they are vital in building the software.

After the needed tools are installed, the source code can be pulled down.

Finally, to install it, just run the make command. From here it is possible to launch Buku with buku in any terminal window

Note: though this guide focuses on Ubuntu, Buku can be built with similar directions on any Linux distribution.

Importing Bookmarks


To import bookmarks directly into the manager, first export all bookmarks from your web browser to an html file. Then, enter the following command:

As a result, imported bookmarks will be added to the Buku bookmark database.

Exporting Bookmarks


Exporting bookmarks is as simple as importing them into the database. To export all bookmarks, use this command:

The bookmark manager, like all others, will export all bookmarks loaded into the database to an HTML file on the system. After that, take your bookmarks and do with them what you will!

Opening Bookmarks


To open a bookmark, first the user must search for it. This is done with the -s flag. Run this to search:

Then, once a bookmark matching the search has been found, enter the number next to it, and the bookmark will open in the default web browser.


Unlike other bookmark managers, Buku can actually encrypt your data. This is especially handy for users who¬†have “sensitive” bookmarks. To encrypt the database, use the -l flag to create a password.


With the database locked, it will not be possible to access bookmarks without entering the password to decrypt it. To decrypt, use the -k flag.


Other features

This bookmark manger is stuffed with many different features. To read about how to use any of the other features, use the --help switch. When this switch is used, every command switch and flag will be listed, and each feature outlined in detail. This comes in handy, as often users forget things, and it’s nice to be able to pull out a cheat-sheet sometimes.



Even though this tool isn’t part of any browser, its features are far above any of the current manager offerings out there. Despite the fact that it runs in the command line, it offers up some serious competition. Bookmarks might not be that important to most people, but those who dislike the current choices and love the Linux command line should give Buku a serious shot.

Derrik Diener Derrik Diener

Derrik Diener is a freelance technology blogger.


  1. Impressive! Though, I think it’s time for Linux (both ordinary and super-extra-power) users to wean themselves from the black box and turn to other more civilized sources (GUI).

  2. Thanks!
    Buku is fast and a realy nice programm. I love the power of the CLI.
    Funny – my import ends with Bookmark number 666. :D

Comments are closed.