66

Listing all the available environments is as simple as:

$ conda env list

Now how does one list the currently installed kernels, without having to go to the path:

$ ls /home/{{user}}/.local/share/jupyter/kernels/
dumbledad
  • 16,305
  • 23
  • 120
  • 273
renatodamas
  • 16,555
  • 8
  • 30
  • 51

2 Answers2

130

With Jupyter installed you get the list of currently installed kernels with:

$ jupyter kernelspec list

python2     /usr/local/lib/python2.7/dist-packages/ipykernel/resources
testenv     /home/{{user}}/.local/share/jupyter/kernels/sparkenv
dumbledad
  • 16,305
  • 23
  • 120
  • 273
renatodamas
  • 16,555
  • 8
  • 30
  • 51
1

For those that come here because VSCode can't find the kernel although it is shown when using jupyter kernelspec list, try updating pyzmq.

pip install pyzmq --upgrade

Based on this answer

Muhammad Yasirroni
  • 1,512
  • 12
  • 22