[documentation] Wrong and breaking info for adding Windows PATH for CLI and pio functionality
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- cli, documentation
Research direction
Start with the shell-commands section at docs.platformio.org/en/latest/core/installation/shell-commands.html#piocore-install-shell-commands. Review the Windows PATH guidance against the reported USER versus SYSTEM scope, ordering, and listed executables. Done means the page gives accurate, non-breaking instructions and identifies only the commands users need.
Written by the indexing model from the issue text.
Description
Issue on your documentation page for installing shell commands:
There you say:
You need to edit the system environment variable called Path and append
C:\Users\UserName\.platformio\penv\Scripts\path in the beginning of a list...
The content of that location is:
.\penv\Scripts\
├── __pycache__
│ ├── bottle.cpython-311.pyc
│ └── readelf.cpython-311.pyc
├── Activate.ps1
├── activate
├── activate.bat
├── async-json-rpc-server.exe
├── bottle.exe
├── bottle.py
├── deactivate.bat
├── normalizer.exe
├── pio.exe
├── piodebuggdb.exe
├── pip.exe
├── pip3.11.exe
├── pip3.exe
├── platformio.exe
├── pyserial-miniterm.exe
├── pyserial-ports.exe
├── python.exe
├── pythonw.exe
├── readelf.py
├── tabulate.exe
└── uvicorn.exe
There are 3 serious issues with this PATH:
-
You are adding to Windows
SYSTEMPATH and notUSERPATH, which may break all sort of already installed tools and programs, includingPythoninterpreter. -
You are telling user to put the PATH addition on the top of the path list, (again) overriding all other PATHs.
-
There are only 3 programs needed, so why are you asking user to add entire directory?
That include an outdated Python interpreter, and several unknown executables!?
NOTE:
platformio.exe and pio.exe are the same file.
- Dominant language
- Python
- Stars
- 288
- Forks
- 361
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from platformio/platformio-docs
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
platformio/platformio-docs#409 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
platformio/platformio-docs#406 ·
-
SOS ENABLED HELMETOpen
Difficulty 5/5 Over a week Newbie friendliness 15/100
platformio/platformio-docs#398 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
platformio/platformio-docs#393 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
platformio/platformio-docs#390 ·
All issues in platformio/platformio-docs
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day