IntelliJ in WSLg
Download JetBrains toolbox. Get the latest link from here
wget https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.28.1.15219.tar.gz
Extract
sudo tar -xzf jetbrains-toolbox-1.28.1.15219.tar.gz -C /opt
Run and if Error
/opt/jetbrains-toolbox-1.28.1.15219/jetbrains-toolbox
dlopen(): error loading libfuse.so.2
AppImages require FUSE to run.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
Fix
sudo apt install libfuse2
Run toolbox again
/opt/jetbrains-toolbox-1.28.0.15158/jetbrains-toolbox
if its not coming up
just install gedit like below
sudo apt update // Do not ignore. Please run this first.
sudo apt install gedit -y
Close the termial window(not tab) and open again.
Run gedit like below
gedit
Now try to run toolbox again
Install IDEs you want.
Run IntelliJ from command line
idea
or
~/.local/share/JetBrains/Toolbox/scripts/idea
Helpful?
If you think this is helpful 🎈
Don't keep it to yourself 🙊
Share it with your lovely followers at twitter 🗽