"The term 'mongosh' is not recognized as the name of a cmdlet, function, script file, or operable program" error in vscode MongoDB shell

211 views Asked by At

I tried to use mongodb shell from vscode via it's extension. Connection was stablished successfully but when I try to open mongobd shell I got this error. error screenshot : vscode terminal. I copied the path in env variable and was able to use mongodb shell via its application but unable to do so in vscode.

I copied the bin location of mongodb shell in env variable. I was able to successfully run mongodb shell via its application. env variable setup

0

There are 0 answers