Hike is a Markdown browser for the terminal.
It provides the ability to browse for and view local Markdown files, as well
as Markdown files that can be downloaded from the web. It also has shortcuts
that make it easy to view Markdown files on popular
gitforges such as
GitHub, GitLab,
Codeberg and Bitbucket.
The package is available via Homebrew. Use the following
commands to install:
brewtapdavep/homebrew
brewinstallhike
Other installation methods
The following installation methods have been provided by third parties.
Warning
Please note that I don't maintain any of these installation
methods and so can't vouch for them myself. I can't guarantee that they
are up-to-date, neither can I guarantee that they install the original code.
Once you've installed Hike using one of the above methods,
you can run the application using the hike command.
Command line options
Hike has a number of command line options; they include:
-b, --bindings
Prints the application commands whose keyboard bindings can be modified,
giving the defaults too.
hike--bindings
Backward - Move backward through history
Default: ctrl+left_square_bracket
BookmarkLocation - Bookmark the current location
Default: ctrl+b
ChangeCommandLineLocation - Swap the position of the command line between top and bottom
Default: ctrl+up, ctrl+down
ChangeNavigationSide - Change which side the navigation panel lives on
Default: shift+f2
ChangeTheme - Change the application's theme
Default: f9
CopyLocationToClipboard - Copy the location to the clipboard
Default: f4
CopyMarkdownToClipboard - Copy the Markdown source to the clipboard
Default: shift+f4
Edit - Edit the current markdown document
Default: f5
Forward - Move forward through history
Default: ctrl+right_square_bracket
Help - Show help for and information about the application
Default: f1, ?
JumpToBookmarks - Jump to the bookmarks in the navigation panel
Default: ctrl+o
JumpToCommandLine - Jump to the command line
Default: /
JumpToDocument - Jump to the markdown document
Default: ctrl+slash, ctrl+g
JumpToHistory - Jump to the history in the navigation panel
Default: ctrl+y
JumpToLocalBrowser - Jump to the local filesystem browser in the navigation panel
Default: ctrl+l
JumpToTableOfContents - Jump to the table of contents in the navigation panel
Default: ctrl+t
Quit - Quit the application
Default: f10, ctrl+q
Reload - Reload the current document
Default: ctrl+r
SaveCopy - Save a copy of the current document
Default: ctrl+s
SearchBookmarks - Search the bookmarks
Default: f3
SearchHistory - Search the history
Default: shift+f3
ToggleNavigation - Show/hide the navigation panel
Default: f2
-h, --help
Prints the help for the hike command.
hike--help
usage: hike [-h] [-v] [--license] [-b] [--navigation | --no-navigation]
[-t THEME]
[command ...]
Hike -- A Markdown viewer for the terminal.
positional arguments:
command The initial command; can be any valid input to Hike's
command line.
options:
-h, --help show this help message and exit
-v, --version Show version information
--license, --licence Show license information
-b, --bindings List commands that can have their bindings changed
--navigation, --no-navigation
Show or hide the navigation panel on startup
-t, --theme THEME Set the theme for the application (set to ? to list
available themes)
v1.1.3
--license, --licence
Prints a summary of Hike's license.
hike--license
Hike - A Markdown viewer for the terminal.
Copyright (C) 2025 Dave Pearson
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <https://www.gnu.org/licenses/>.
--navigation
Starts Hike with the navigation panel visible; this overrides and modifies
the saved state of the navigation panel.
--no-navigation
Starts Hike with the navigation panel hidden; this overrides and modifies
the saved state of the navigation panel.
-t, --theme
Sets Hike's theme; this overrides and changes any previous theme choice made
via the user interface.
To see a list of available themes use ? as the theme name:
Hike can also take a command on the command line, which will be processed
via its own internal command line. This means that you have
access to the full array of Hike features. This means you can do something
as simple as give the name of a file to view:
A great way to get to know Hike is to read the help screen. Once in the
application you can see this by pressing F1.
The help will adapt to which part of the screen has focus, providing extra
detail where appropriate; so while the example shown above shows the help
related to Hike's command line, here's the help when the
markdown document has focus:
The command palette
Another way of discovering commands and keys in Hike is to use the command
palette (by default you can call it with ctrl+p or
meta+x).
When doing so, please do search past discussions and also issues current
and previous to make sure I've not
already dealt with this, or don't have your proposed change already flagged
as something to do.