how to make vscode run as sudo in linux code example Example: open vscode in terminal sudo sudo code --user-data-dir="~/.vscode-root"