-
Notifications
You must be signed in to change notification settings - Fork 161
bashrc - pio command not found - Paths issue #679
Comments
Hello @holic-cl! Thank you for reaching out with this query. You should probably symlink to the expected path in usr, alternatively try to export your home path. To export, add a modified version of this (that suits your particular needs) to your Without either a symlink or exporting the path its unlikely any terminal/shell will magically know where your own bins are stored. |
Hi @ the-j0k3r thanks for your answer. My .bashrc file already have my home path, this is the content of PATH var on my bash-terminal:
Seems to be problem on the terminal where PATH var is not being exported from .bashrc file, do not know why, maybe i am missing a specific setting or reassigning the PATH in some place |
@holic-cl does your setup work on a terminal besides platformio-ide-terminal or not? Try to export the path once on the terminal and see if that does it. Try on terminal.
Else try.
You can also export that path into The orther solution is symlinking
However if you are still getting issues you may want to relocate your binaries into their expected path rather than your home folders. |
@the-j0k3r my problem is with atom terminal, which does not seem to read the I was looking for a solution that did not involve the symbolic link, but i had it in mind. Thank you a lot! |
The problem here is that platformio-ide-terminal is using This project has no official developers anymore either (the main dev is just merging PR's related -> #543 and doing releases (Im sort of managing the bug tracker), anything like fixes/and switching to other libraries has to come from users, except this project doesnt have enough skilled users that want/can or have time to implement this much needed change. SO unless someone comes along willing and able, this is it. Glad my suggestion worked out for you in the end though =) |
Description
Pio command not found on terminal when i want to use serial monitor
Steps to reproduce
pio
commandExpected behavior:
Serial monitor show serial messages
Actual behavior:
Terminal can't find
pio
commandReproduces how often:
Versions
OS name and version:
Distributor ID: Debian
Description: Debian GNU/Linux buster/sid
Release: unstable
Codename: sid
Platformio-ide-terminal version:
2.9.1
Additional Information
PATH enviroment variable of the terminal don't have the path for my pio command (on my home dir). Don't know how to set it.
But my pio command is here:
/home/holic/bin/pio
The text was updated successfully, but these errors were encountered: