Love not accessable from git bash on windows 11?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
mastersunflower
Prole
Posts: 2
Joined: Thu Jun 01, 2023 4:08 am

Love not accessable from git bash on windows 11?

Post 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?
User avatar
pgimeno
Party member
Posts: 3655
Joined: Sun Oct 18, 2015 2:58 pm

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

Post by pgimeno »

Add the path to the PATH variable in git bash, for example by editing /etc/bash.bashrc
mastersunflower
Prole
Posts: 2
Joined: Thu Jun 01, 2023 4:08 am

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

Post 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\
Ahto_Kivimagi
Prole
Posts: 1
Joined: Wed Oct 18, 2023 11:51 am

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

Post 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.
Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 6 guests