We support running .NET Interactive on small factor devices like Raspberry Pi and pi-top [4].
We suggest running on a Pi 4 or above as the device provides more computing power. We provide a simple way to get the .NET Interactive tool and .NET Core SDK.
Open a terminal and run:
curl -L https://raw.githubusercontent.com/dotnet/interactive/master/tools/setup-raspbian.sh | bash -e
To start using the notebook experiences you can use Visual Studio Code or Jupyter.
Install Visual Studio Code Insiders on your device. Next, get the .NET Interactive Notebooks extension.
Open a terminal and run:
curl -L https://raw.githubusercontent.com/dotnet/interactive/master/tools/setup-raspbian-jupyter.sh | bash -e
Now you can activate the Jupyter virtual environment using the following command:
pi@raspberrypi:~ $ source ~/.jupyter_venv/bin/activate
The prompt in the active environment will look like this:
(.jupyter_venv) pi@raspberrypi:~ $
Finally, start JupyterLab by running:
(.jupyter_venv) pi@raspberrypi:~ $ jupyter lab --ip 0.0.0.0
You can also use Jupyter by running:
(.jupyter_venv) pi@raspberrypi:~ $ jupyter --ip 0.0.0.0
Follow the instructions on the piTop[4] .NET SDK repository.
The dotnet/iot provides a wide palette of device bindings that you can consume as NuGet packages.