简体   繁体   中英

Unable to install git lfs

First tried

brew install git-lfs
git lfs install

and the initial install works but then I get "lfs command not found". Read I needed to try:

sudo apt install git-lfs

"The operation couldn't be completed. Unable to locate a Java Runtime that supports apt." Installed JRE, JDK. Still getting same message.

I tried everything here: git: 'lfs' is not a git command unclear and read everything I could find on SO about this.

I added C:\Program Files\Git\bin to the system path. That didn't do anything.

I have an intel silicon mac.

had to go into the file where I had downloaded it:

cd ~/Downloads/git-lfs-3.2.0

(may not be 3.2.0 for you)

then ran

./install.sh

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM