Forum Discussion
arendkolk
Feb 06, 2021Copper Contributor
I get the error "/bin/sh: 1: powershell: not found" in visual Studio Code running on Ubuntu 18.04
Hi, I get the error "/bin/sh: 1: powershell: not found" in the OUTPUT tab in Visual Studio Code Version 1.53.0 when i try to run simple script in a new file which is open in the editor. does the "w...
Feb 07, 2021
Hi arendkolk ,
I guess you should add symbolic link to the binaries, use this command and try again:
sudo ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
here is the article on how to install using direct download method:
installation-via-direct-download
hope it helps!
Best Regards.