Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij Run Configurations as root on linux

I recently switched my dev station from Windows to a Linux machine, and I'm setting things up. I use Intellij for web development. On my Windows box, I had run configurations for things like npm start, and gulp lots of tasks. In Linux, most of these error out, because they require root to run. Is there a way to run commands in Intellij's run configuration as root? I'd prefer to not have to edit the gulp files, as they're shared over git with my team who runs Windows.

I have intellij-idea-ultimate version 2019.3.1 installed as a snap on Pop OS version 19.10

like image 640
Paul B Avatar asked Sep 05 '25 03:09

Paul B


1 Answers

The only way is to run IntelliJ IDEA itself via sudo.

like image 109
CrazyCoder Avatar answered Sep 07 '25 22:09

CrazyCoder