Installation trouble

I am a first-timer to using WASP and code in general, so getting confused by this message below, would appreciate any help. Message in terminal: WARNING: It looks like '/Users/connorchadwick/.local/bin' is not on your PATH! You will not be able to invoke wasp from the terminal by its name.
4 Replies
martinsos
martinsos4mo ago
Hey @Connordesigns , if you are new to coding, it might be a bit hard using Wasp, since it is in Beta which means not all details are perfect and it also requires knowledge of React, HTML, CSS, JS, ... . The thing it says about PATH is a basic thing on Linux systems -> you want to have your binaries path's in the PATH env var, so you can invoke them from terminal by name, like wasp. You should be easily able to google this one, and I am sure ChatGPT should also be able to help here quite effectively!
drewgs
drewgs4mo ago
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. ^ used claude opus
martinsos
martinsos4mo ago
yup, sounds about right!
Connordesigns
Connordesigns4mo ago
@martinsos @drewgs legends thanks so much for your help!!