Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrated terminal in VSCode not allowing me to use zsh

I am running VSCode 1.87.2 on Pop!_OS 22.0.4, kernel version 6.6.10-76060610-generic

UPDATED

A lot of commands (such as sudo,apt,docker) do not work when in the integrated shell in VS Code. Example response: bash: sudo: command not found

When I type the full path to say apt I get this:

$ mmurphy@pop-os:~$ /usr/bin/apt
$ bash: /usr/bin/apt: No such file or directory

Integrated terminal (VSCode) not recognizing commands that work in standalone Terminal app

I recently reinstalled the OS and I did not install anything other than VS Code and Chrome.

Note before I got new hardware and installed 22.0.4 on it I had been using 21 with it being my primary dev environment so I had using the integrated shell for a long time.

like image 444
user1314147 Avatar asked Jan 19 '26 12:01

user1314147


1 Answers

Hey thank you all for the help! I have been using the integrated shell in VS Code (Linux and Mac) for years with no issues, turned out the issue was on this fresh install I installed VS Code using the Pop!_Shop, I removed it here and installed with apt and everything is good now!

like image 141
user1314147 Avatar answered Jan 22 '26 05:01

user1314147