DEV Community

Ítalo Santana
Ítalo Santana

Posted on

4 2 1

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!

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay