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

Unable to install loft on my Mac /Apple silicon #271

Open
virinchi-fnc opened this issue Jan 24, 2025 · 3 comments
Open

Unable to install loft on my Mac /Apple silicon #271

virinchi-fnc opened this issue Jan 24, 2025 · 3 comments

Comments

@virinchi-fnc
Copy link

My Mac

Darwin MacBook-Pro-3.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000 x86_64

I am trying to install loft on my mac as per the instructions provided

"curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-darwin-arm64" && sudo install -c -m 0755 loft /usr/local/bin"

I also tried to install using zip files,

After downloading the loft file size is showing 9B only,

"
bash-3.2$
bash-3.2$ loft --version
bash: /usr/local/bin/loft: cannot execute binary file"

Another type of error on zsh

loft  ✔  10074  12:26:37
zsh: exec format error: loft

@RajarshiPrattipati
Copy link

Also facing similar errors.
Have tried on both Mac with Intel and M3 Pro Apple Silicon. Neither is working.

"/usr/local/bin/loft: line 1: Not: command not found"

@pr0PM
Copy link

pr0PM commented Feb 8, 2025

Seems like there are no builds present for macos with a darwin release

getting not found error while following the docs

curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-darwin-amd64"

@sathish-sign
Copy link

we also faced the same issue, for some reason we are not able to install latest version for Mac Silicon with this URL

Wrong Output: curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-darwin-arm64"

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     9  100     9    0     0     15      0 --:--:-- --:--:-- --:--:--    15

we can use a URL with particular version which has the loft-darwin-arm64 asset in the release

Correct Output: curl -L -o loft "https://github.com/loft-sh/loft/releases/download/v3.4.4/loft-darwin-arm64"

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58.1M  100 58.1M    0     0  10.4M      0  0:00:05  0:00:05 --:--:-- 14.0M

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

4 participants