首页 > 解决方案 > sh-4.4$ when opening VScode terminal

问题描述

So I recently installed the newest version of Linux Mint, some necessary packages ... Everything worked fine until I open my terminal inside a folder in Visual studio code.

It shows sh-4.4$ and no command works. For example when I open a normal terminal and type npm it shows all commands for npm but in my VScode terminal this command is not found.

Edit: I tried setting the default terminal to bash, but this doesn't solve the problem.

example

标签: linuxbashvisual-studio-code

解决方案


好的,看来我从软件中心(一个扁平包)下载了非官方的 vscode 包。我尝试从网站上安装官方的 vscode,现在一切正常。


推荐阅读