Unable to run "pio" after installation script on Ubuntu

I have just spun up a fresh Ubuntu 24.04 VM to test PlatformIO. I run the wget installer as specified in Installer Script (Recommended) β€” PlatformIO latest documentation. Once it is done i run pio and it is not found, i get a prompt to install it from apt instead. My PATH variable does not seem to include it.

If I run .platformio/penv/bin/pio --version directly then i get 6.1.19 as expected. Am I missing a step? Are the installation instructions missing a step?

Thanks

You need to install the shell commands - see Install Shell Commands β€” PlatformIO latest documentation

Edit: Link fixed

Thanks! That link doesn’t work btw but i was able to find the page anyhow. I’m not very familiar with linux so this is all quite new to me :slight_smile:

1 Like