nbview
is a lightweight utility for viewing Jupyter Notebook files in your terminal.
- Cross-platform. Compiles to a multi-platform executable.
- No dependencies.
nbview
binary is self contained. - No need for a Notebook server.
*.ipynb
files are rendered as text in a terminal buffer. - Fully-fledged Python syntax highlighting based on Pygments.
The simplest way to install nbview
is to download the binary for your platform. Rename the binary to nbview
and add it to your $PATH
, for example by copying it to usr/local/bin
.
make PLATFORM
where PLATFORM
is either ubuntu
, linux
, darwin
, or windows
. The executable will appear in bin/PLATFORM/nbview
and from there it can be added to your $PATH
variable.
nbview FILENAME
FILENAME
can be either a local or a remote notebook file. The Notebook is loaded into a scrollable buffer, which can be navigated using arrow keys. To exit, press q
or esc
.