Core CLI Installer script not working

I am trying to install platformIO CLI following the guide:
https://docs.platformio.org/en/stable/core/installation/methods/installer-script.html
using
python3 -c “$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)”
It seems that the link is broken as I get an error 404: Not Found.
Can somebody else confirm this? Is it going to be fixed or should I find another way to install?

Hi @kl1
It seems indeed that the script has been moved to another repo, could you try theses two commands instead:

curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py

EDIT: The new command in documentation has not been released yet, here you will find the latest documentation with the correct command.

2 Likes

What is your use case? Why do you need the Installer Script?

Hi @copperbot-d
Your solution works. Thank you very much!