You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to install MeiliSearch with cURL, it failed with the following ERROR:
ERROR: MeiliSearch binary is not available for your OS distribution or your architecture yet.
Yet when I used homebrew everything worked well.
To Reproduce
curl -L https://install.meilisearch.com | sh
./meilisearch
with an Apple M1 computer
Screenshots
The text was updated successfully, but these errors were encountered:
curquiza
changed the title
Unable to download a MeiliSearch binary with cURL on a M1 Apple
Download MeiliSearch binary with cURL on a M1 Apple
Sep 1, 2021
1697: Make exec binary for M1 mac available for download r=MarinPostma a=k-nasa
## Why
fix: #1661
Now, Do not supported getting exec file for m1 mac on using`download-latest.sh`.
## What
Download x86 binary when run `download-latest.sh` on m1 mac, because it can execute binary targeting x86.
## Proof
I verified like this.
I got executable binary on M1 mac 💡
```sh
:) % arch
arm64
:) % ./download-latest.sh
Downloading MeiliSearch binary v0.21.1 for macos, architecture amd64...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 631 100 631 0 0 2035 0 --:--:-- --:--:-- --:--:-- 2035
100 43.5M 100 43.5M 0 0 7826k 0 0:00:05 0:00:05 --:--:-- 9123k
MeiliSearch binary successfully downloaded as 'meilisearch' file.
Run it:
$ ./meilisearch
Usage:
$ ./meilisearch --help
:) % file ./meilisearch
./meilisearch: Mach-O 64-bit executable x86_64
:) % ./meilisearch --help # this is execuable
meilisearch-http 0.21.1
...
...
```
Co-authored-by: k-nasa <htilcs1115@gmail.com>
Co-authored-by: nasa <htilcs1115@gmail.com>
Describe the bug
When trying to install MeiliSearch with cURL, it failed with the following ERROR:
ERROR: MeiliSearch binary is not available for your OS distribution or your architecture yet.
Yet when I used homebrew everything worked well.
To Reproduce
with an Apple M1 computer
Screenshots
![Capture d’écran 2021-09-01 à 14 52 20](https://user-images.githubusercontent.com/2602288/131674472-082ed1e8-5768-4339-89c3-00c298400942.png)
The text was updated successfully, but these errors were encountered: