I know this is a common asked question. I've searched and the answers didn't help, as many of them are for OSx and WSL. I'm on Pop!_OS.
I'm a VS Code user and I'm used to type code .
to open my current folder on VS Code. But as of today, this doesn't happen anymore.
The many answers I found tell me to ctrl+shift+p
on VS Code and type install
to find a command that installs the shell. It's not available for me.
Specs:
In my case, I created a symbolic link.
$ cd /usr/local/bin/
$ sudo ln -s /usr/share/code/bin/code code
from there on I could use code
from wherever in the terminal (I also use Pop OS).