deno jupyter command provides integration with Jupyter notebooks, allowing you to use Deno as a JavaScript and TypeScript kernel.
Usage
Description
This command installs and manages the Deno kernel for Jupyter notebooks. Once installed, you can create and run Jupyter notebooks that execute JavaScript and TypeScript code using Deno. Without any flags, the command displays the current installation status.Options
Install the Deno kernel for Jupyter.
Start the Deno kernel (typically called by Jupyter, not directly by users).
Path to the connection file (used internally when starting the kernel).
Custom name for the kernel installation.
Custom display name for the kernel.
Force reinstallation even if already installed.
Examples
Check installation status
Install the Deno kernel
Install with a custom name
Install with a custom display name
Force reinstall
Using Jupyter with Deno
After installation, you can use the Deno kernel in Jupyter:-
Install the kernel:
-
Start Jupyter:
or
- Create a new notebook and select “Deno” as the kernel
- Write and execute Deno code in notebook cells
Features
- Full TypeScript support
- Access to Deno APIs
- npm package support
- JSR package support
- Top-level await
- Rich display output
- REPL-like experience
Example Notebook Code
Notes
- The command is marked as unstable and may change in future versions
- Requires Jupyter to be installed separately (
pip install jupyter) - The kernel runs with all permissions by default (for notebook convenience)
- Test output capturing is currently not fully functional