install intellij ubuntu

C++
brew cask install intellij-idea-ce
sudo snap install intellij-idea-community --classicvery nice choice good for java
Source

Also in C++: