I would like to open VSCode from my RHEL terminal using the code
command but when I try to type Shell Command: Install 'code' command in PATH
directly in VSCode Command Palette, it indicates that No matching command is found
. Is there a way to configure $PATH
directly via the command line to make code
work?
Finally what worked for me was to run the following commands :
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
dnf check-update
sudo dnf install code