@ivankravets, unfortunately, I appear to have run into this issue again:
neil@Neil-Laptop:/mnt/c/Users/neilb/Documents/PlatformIO/Projects/ESP8266 Test$ pio run
Command 'pio' not found, did you mean:
command 'cpio' from deb cpio
command 'plio' from deb gnustep-base-runtime
command 'pip' from deb python-pip
command 'fio' from deb fio
command 'pia' from deb pia
command 'gio' from deb libglib2.0-bin
command 'tio' from deb tio
command 'rio' from deb rio
command 'pil' from deb picolisp
command 'pi' from deb pi
command 'pico' from deb nano
command 'pico' from deb alpine-pico
command 'pico' from deb joe-jupp
command 'pig' from deb bsdgames
command 'pic' from deb groff-base
Try: sudo apt install <deb name>
This is from the terminal launched by the PIO icon in the bottom bar of VSCode.
Is there any particular reason you’re using the WSL Bash terminal? If you use either the regular command prompt, or powershell (or even the git bash terminal), the pio command should work fine, but the WSL Bash shell doesn’t seem be working properly.
If you’re not sure how to change it, open up the command palette and type in shell for Terminal: Select Default Shell …
Ah, @pfeerick this is to do with the WSL terminal after all! IDK what changed, but now when I have the VSCode terminal set as WSL, no PlatformIO actions work. I have to set the terminal to powershell or cmd to make them work again.
This behavior didn’t exist previously, I have been using WSL as my terminal for a while now with PIO and had no issues…