Follow these steps to install and use Clojupyter in a Google Colab notebook.
In a Colab notebook, execute the following commands in a code cell:
!wget https://raw.githubusercontent.com/qubit55/clojupyter_colab_setup/refs/heads/main/install_clojure_kernel.sh
!chmod +x install_clojure_kernel.sh
!./install_clojure_kernel.sh
This will download and execute the setup script for Clojupyter.
Once the installation is complete:
- Go to Runtime -> Change runtime type.
- In the "Runtime type" dropdown, select Clojure IPC.
- Wait for the kernel to initialize. The RAM and disk usage chart in the upper-right corner will confirm when it’s ready.
Start coding and enjoy using Clojupyter in your Colab notebook.