DEV Community

Ítalo Santana
Ítalo Santana

Posted on

How to fix 'Code' command in PopOS terminal

Image description

When you download Visual Studio Code on PopOS! the Code command does not work in the terminal, which opens your IDE any project anywhere you are.

To solve this, it's simple.

First you will use cd to focus on the bin/ folder:

$ cd /usr/local/bin/

Then, using the sudo command will create the code command
$ sudo ln -s /usr/share/code/bin/code code

Restart your terminal and the magic is done!

Top comments (1)

Collapse
 
beatrizoliveira profile image
Beatriz Oliveira

nice tip!