I downloaded VSCode and tried to make link for code
to use code command to open VSCode. I also appended this vscode path to PATH variable. I have downloaded VSCode in folder called Work. This Work folder resides with other folders like Applications, Downloads etc.
code
is working outside these directories but not inside them. For example if try to run code --version
inside Downloads/
it shows command not found.
The commands I used to make link:
sudo ln -s Work/Software/VSCode/Visual\ Studio\ Code.app/Contents/Resources/app/bin/
.
and my PATH variable is, ....:Work/Software/VSCode/Visual Studio Code.app/Contents/Resources/app/bin/
.
Please tell me if I doing something wrong. Thanks.