← 返回命令列表

Linux command

euporie 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Open a notebook

euporie notebook [notebook.ipynb]

Start a Jupyter console

euporie console --kernel [python3]

Render a notebook

euporie preview [notebook.ipynb]

Save a rendered preview

euporie preview --save-as [output.txt] [notebook.ipynb]

Run euporie as a multi-user SSH hub

euporie hub --host [0.0.0.0] --port [8022]

Pick a color scheme

euporie notebook --color-scheme [dark] [notebook.ipynb]

说明

euporie is a suite of terminal applications that bring the Jupyter ecosystem to the shell. Each subcommand is a self-contained app sharing the same rendering engine for markdown, LaTeX, syntax-highlighted code, and rich output (including inline images via sixel, iTerm2, or kitty graphics protocols). The notebook app is a full editor that can execute cells, manage kernels, and save `.ipynb` files. The console app is a REPL front-end for any installed Jupyter kernel. The preview app is non-interactive and suitable for CI pipelines or scripting. The hub exposes the notebook editor over SSH so multiple users can share a server's resources.

参数

--kernel _NAME_
Jupyter kernel to connect to (e.g. `python3`, `ir`, `julia-1.10`).
--no-kernel
Open the notebook without starting a kernel.
--color-scheme _NAME_
Color scheme: `default`, `light`, `dark`, `inverse`, or a custom scheme.
--syntax-theme _NAME_
Pygments theme for code cells.
--tab-size _N_
Number of spaces per tab.
--terminal-graphics _MODE_
Image protocol: `sixel`, `iterm`, `kitty`, or `none`.
--log-level _LEVEL_
Logging verbosity (`debug`, `info`, `warning`, `error`).
--log-file _FILE_
Path to a log file.
--host _HOST_ (hub)
Bind address for the SSH hub.
--port _PORT_ (hub)
Listen port for the SSH hub.
--save-as _FILE_ (preview)
Write rendered output to _FILE_ instead of stdout.
--page (preview)
Pipe rendered output to `$PAGER`.
-v, --version
Show version and exit.
-h, --help
Show help.

FAQ

What is the euporie command used for?

euporie is a suite of terminal applications that bring the Jupyter ecosystem to the shell. Each subcommand is a self-contained app sharing the same rendering engine for markdown, LaTeX, syntax-highlighted code, and rich output (including inline images via sixel, iTerm2, or kitty graphics protocols). The notebook app is a full editor that can execute cells, manage kernels, and save `.ipynb` files. The console app is a REPL front-end for any installed Jupyter kernel. The preview app is non-interactive and suitable for CI pipelines or scripting. The hub exposes the notebook editor over SSH so multiple users can share a server's resources.

How do I run a basic euporie example?

Run `euporie notebook [notebook.ipynb]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --kernel _NAME_ do in euporie?

Jupyter kernel to connect to (e.g. `python3`, `ir`, `julia-1.10`).