Recently, I have installed Visual Studio Code on my Ubuntu 15.10 and I have a problem running it from a terminal. I did everything correctly what they had written on official site of VSCode, but when I type code . it gives me output command not found .
Asked
Active
Viewed 1.7k times
3
storm
- 5,013
pro_logic96
- 31
4 Answers
2
If you want to run VS Code from the terminal, create the following link substituting /path/to/vscode/Code with the absolute path to the Code executable by running this command
sudo ln -s /path/to/vscode/Code /usr/local/bin/code
storm
- 5,013
1
How do you install vscode (tar.gz or .deb) personnaly i install with .deb download .deb file (for example code_1.5.3-1474533365_amd64.deb), and then :
sudo dpkg -i code_1.5.3-1474533365_amd64.deb
that's all. it's tha simple way to install it.
0
As of 9/29/2016 and latest version of Code. In VS Code, open the "Command Palette" (View -> Command Palette) then type "Shell Command: Install 'code' in command PATH.
See: https://code.visualstudio.com/docs/setup/mac I'm guessing it will be similar on Ubuntu.
Jeff
- 101