Page 1 of 1

Love not accessable from git bash on windows 11?

Posted: Thu Jun 01, 2023 4:12 am
by mastersunflower
I downloaded love using the 64 bit windows installer, yet I am not able to use love in the command line. It gives me this:

bash: love: command not found

I am in the folder with main.lua. I've tried reinstalling with no luck. I know love is installed because I am able to see it (and use it) via the desktop icon. However I would really like to be able to use it via git bash.

Thoughts?

Re: Love not accessable from git bash on windows 11?

Posted: Thu Jun 01, 2023 11:11 am
by pgimeno
Add the path to the PATH variable in git bash, for example by editing /etc/bash.bashrc

Re: Love not accessable from git bash on windows 11?

Posted: Thu Jun 01, 2023 4:15 pm
by mastersunflower
Well I figured it out. It was, like the user above me stated, an issue regarding the path. I was not able to figure out how to edit the git bash path, but I was able to edit the windows path itself to solve the issue.

Here are the steps to do so on windows 11 for anyone wondering:

1) Press start and enter: 'edit environment variables'

2) In the 'user variable for YOURUSERNAME' highlight 'path' and click edit.

3) Click 'New' and add C:\Program Files\LOVE\

Re: Love not accessable from git bash on windows 11?

Posted: Thu Oct 19, 2023 5:41 am
by Ahto_Kivimagi
I had a similar issue before. It sounds like the Love executable might not be in your system's PATH variable, which is why Git Bash can't find it.