Skip to content

Instantly share code, notes, and snippets.

@tonidy
Last active February 12, 2025 07:55
Show Gist options
  • Save tonidy/d9e8d3ffe68bc226203900cb1810e234 to your computer and use it in GitHub Desktop.
Save tonidy/d9e8d3ffe68bc226203900cb1810e234 to your computer and use it in GitHub Desktop.
Run Deno in .NET Interactive
  1. Install Deno (at the time of writing, using version 1.46.3)

https://docs.deno.com/runtime/fundamentals/installation

  1. Install Deno Jupyter Kernel

https://docs.deno.com/runtime/reference/cli/jupyter

  1. Install dotnet interactive

https://github.com/dotnet/interactive

  1. In the code cell add this command:

#!connect jupyter --kernel-name deno --kernel-spec deno

image
  1. Execute the cell. You can see the Deno subkernel have been added:
image
  1. Create code cell:
image
  1. Select cell kernel:
image
  1. Choose deno - typescript 5.5.2 (Preview):
image
  1. Execute this Deno code:

Deno.version.deno

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment