Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wally not working on macOS #95

Closed
devtyp opened this issue Aug 30, 2022 · 4 comments
Closed

wally not working on macOS #95

devtyp opened this issue Aug 30, 2022 · 4 comments

Comments

@devtyp
Copy link

devtyp commented Aug 30, 2022

hello,
i have a macOS and I am trying to get Knit to work. For some reason, according to foreman everything is installed in the foreman.toml file, however, when I run wally init my computer tells me that there is no such command. Do you know a fix? Sorry

@zoop1015
Copy link

I'm currently experiencing the same issue, might be a silly mistake on our end though, not sure.

@OverHash
Copy link

Looks like this is the first issue on the repository related to users not adding Wally to their system PATH when installing!

You need to add Wally to your system PATH for your computer to know where the wally binary to run is. Otherwise, your computer would have to search your entire disk to find where you installed wally. That takes a long time!

You can easily google how to add to your system PATH for your given OS, but here's some example guides for Windows and Mac OS (bash users). You'll need to put the wally binary you downloaded in a directory which you add to your system PATH. Most users put it under %USERPROFILE%/bin on Windows or $HOME/bin on MacOS / Linux.

If you're using Foreman and installed Wally through that way, you likely forgot to add the bin folder of Foremanto your system PATH. See the foreman setup guide for info about which directory you need to add.

@MystxryXD
Copy link

MystxryXD commented Dec 28, 2022

  • Open Terminal.
  • Type sudo ln -s PATH_TO_WALLY_EXECUTABLE_FILE /usr/local/bin.
  • Enter your password if prompted.

Wally should now be added to your path, and you can run wally -h in the Terminal for basic usage.

Note: You need to replace PATH_TO_WALLY_EXECUTABLE_FILE with the location of your wally executable file. This can be done by:

  1. Right-clicking the wally executable file from wherever it's stored and holding Option which will show the Copy wally as path command, and by clicking it, the path will be copied after which you can just paste it in the Terminal.

  2. Drag and dropping your wally file directly to the terminal after entering sudo -ln -s.

@magnalite
Copy link
Member

#138 now recommends aftman and homebrew which handle PATH for you. This should help new users from running into PATH related issues like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants