Skip to content

Commit

Permalink
Update NotebookswithJupyter.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsequitur authored Dec 8, 2021
1 parent 9d1ecd3 commit 8e7df80
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions docs/NotebookswithJupyter.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,26 @@ Both of these methods can read and write `.ipynb` files, which are fully portabl

First, make sure you have the following installed:

* The [.NET 5 SDK](https://dotnet.microsoft.com/download/dotnet/5.0).
* The [.NET 6 SDK](https://dotnet.microsoft.com/download/dotnet/6.0).
* **Jupyter**. An easy way to install Jupyter is through [Anaconda](https://www.anaconda.com/distribution).

* Open the **Anaconda Prompt** (Windows) or Terminal (macOS) and verify that Jupyter is installed and present on the path:
* You can verify the installations by opening the **Anaconda Prompt** (Windows) or a terminal (macOS, Linux) and running the following commands to ensure that Jupyter and .NET are installed and present on the path:

```console
> jupyter kernelspec list
python3 ~\jupyter\kernels\python3
> dotnet --version
6.0.100
```

(The minor version isn't important.)

* Next, in an **ordinary console**, install the `dotnet interactive` global tool:

```console
> dotnet tool install -g --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive
```

*Note: The Azure feed is where the most up-to-date version will be published:*

```
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
> dotnet tool install -g Microsoft.dotnet-interactive
```

Older, more stable versions will be made available on [NuGet.org](https://nuget.org).

* **Switch back to your Anaconda prompt** and install the .NET kernel by running the following:

```console
Expand All @@ -50,7 +46,7 @@ Installing using jupyter kernelspec module.
Installed ".NET (PowerShell)" kernel.
```

* You can verify the installation by running the following again in the **Anaconda Prompt**:
* You can verify the installation by running the following again in the **Anaconda Prompt**. You should now see a `kernelspec` entry for each of the default supported .NET languages:

```console
> jupyter kernelspec list
Expand Down

0 comments on commit 8e7df80

Please sign in to comment.