maaslalani / draw

Draw in your terminal
MIT License
460 stars 18 forks source link

zsh: command not found: draw #18

Open connor-sp opened 4 months ago

connor-sp commented 4 months ago

Describe the bug Was hoping to play with draw but I cannot seem to access it post-install.

To Reproduce Steps to reproduce the behavior:

  1. Install go (using instructions on https://go.dev/doc/install)
  2. Install draw (using instructions provided in README.md)
  3. Restart the terminal, check to make sure the go command is in the path
  4. Execute draw and see the error

Expected behavior The draw command executes the program

Screenshots image

Desktop (please complete the following information):

Additional context I am not used to running go applications and I am unsure of where they are installed. I feel like I am just missing something but, if I am, I am raising the issue because the missing "something" is undocumented.

Thanks! Looking forward to playing with draw

ika-musuko commented 1 month ago

Super late but you need to add go's bin directory to your path. By default it should be in $HOME/go/bin

In your .zshrc add export PATH="$HOME/go/bin:$PATH"