drewgs
WWasp-lang
•Created by Connordesigns on 3/6/2024 in #đŸ™‹questions
Installation trouble
^ used claude opus
6 replies
WWasp-lang
•Created by Connordesigns on 3/6/2024 in #đŸ™‹questions
Installation trouble
The error ".local/bin' is not on your PATH!" typically occurs when you try to run a command or executable that is located in the ".local/bin" directory, but this directory is not included in your system's PATH environment variable.
To resolve this error, you can add the ".local/bin" directory to your PATH. Here's how you can do it:
Open your shell configuration file:
For Bash shell: Open "/.bashrc" or "/.bash_profile"
For Zsh shell: Open "~/.zshrc"
Add the following line at the end of the file:
Copy code
export PATH="$HOME/.local/bin:$PATH"
This line adds the ".local/bin" directory located in your home directory to the beginning of the PATH variable.
Save the changes and close the file.
Reload the shell configuration by running the following command in your terminal:
For Bash shell: source ~/.bashrc or source ~/.bash_profile
For Zsh shell: source ~/.zshrc
After following these steps, the ".local/bin" directory should be added to your PATH, and you should be able to run the command or executable without encountering the "not on your PATH" error.
6 replies