Comments (4)
@patrick-5546 mv grm_darwin_arm64.tar.gz grm
in the install instruction, is that a correct way to untar a tar archive?
I installed it locally just fine:
lilja in ~/D/grm-test λ wget https://github.com/jsnjack/grm/releases/download/v0.54.1/grm_darwin_arm64.tar.gz
...<omitted>
grm_darwin_arm64.tar.gz 100%[=====================================================================================================================================>] 7.68M 43.8MB/s in 0.2s
2024-04-22 12:08:59 (43.8 MB/s) - ‘grm_darwin_arm64.tar.gz’ saved [8052413/8052413]
lilja in ~/D/grm-test λ ls -l
total 15728
-rw-r--r--@ 1 lilja staff 8052413 Sep 5 2023 grm_darwin_arm64.tar.gz
lilja in ~/D/grm-test λ tar -xf grm_darwin_arm64.tar.gz
lilja in ~/D/grm-test λ ls -l
total 45392
-rwxr-xr-x@ 1 lilja staff 15185234 Sep 5 2023 grm*
-rw-r--r--@ 1 lilja staff 8052413 Sep 5 2023 grm_darwin_arm64.tar.gz
lilja in ~/D/grm-test λ ./grm version
0.54.1
lilja in ~/D/grm-test λ
from grm.
Hi!
Weird, I don't have any macs myself, but I was told that it works! (checked today). Is there a chance you might have downloaded a binary for a different system / architecture? Or has it stopped working after update? 🤔
from grm.
I believe I downloaded the right binary, this is what I did:
$ curl -s https://api.github.com/repos/jsnjack/grm/releases/latest | jq -r '.assets[2].browser_download_url'
https://github.com/jsnjack/grm/releases/download/v0.54.1/grm_darwin_arm64.tar.gz
$ curl -s https://api.github.com/repos/jsnjack/grm/releases/latest | jq -r '.assets[2].browser_download_url' | xargs curl -LOs && mv grm_darwin_arm64.tar.gz grm && chmod +x grm
$ ./grm version
zsh: exec format error: ./grm
I got the same error using the version where the arm build target was introduced: https://github.com/jsnjack/grm/releases/tag/v0.51.6. @Lilja was there anything else that you had to do to install grm on your m1 macbook pro?
I was able to build to build the arm target locally when I cloned the repository on my machine with make bin/grm_darwin_arm64
, but get this error when running the tests
$ make test
cd cmd && go test
--- FAIL: TestInstall_filterSuitableAssets_empty_filter (0.00s)
install_test.go:68: Unexpected amount of items in <output>: got 1 want 3
--- FAIL: TestInstall_filterSuitableAssets_extended_filter (0.00s)
install_test.go:119: Expected hugo_extended_0.80.0_Linux-64bit.tar.gz to be in <output>
--- FAIL: TestInstall_filterSuitableAssets_extended_tar_filter (0.00s)
install_test.go:165: Expected hugo_extended_0.80.0_Linux-64bit.tar.gz to be in <output>
--- FAIL: TestInstall_filterSuitableAssets_no_arm (0.00s)
install_test.go:194: Expected go-mod-upgrade_0.9.0_Linux_x86_64.tar.gz to be in <output>
FAIL
exit status 1
FAIL github.com/patrick-5546/grm/cmd 0.322s
make: *** [test] Error 1
The value of <output>
on line 68 on my machine is [hugo_0.80.0_Linux-ARM64.tar.gz]
, not sure if this is relevant though
Any idea what might be happening?
from grm.
Thanks that worked, I don't know what I was thinking. I originally tried the grm
binary in releases, but now see that is for linux amd64
from grm.
Related Issues (10)
- Feature request: be able to install a list dependencies on a new system HOT 2
- Changing the binary name of an installed package
- Trouble installing neovim using grm, it cannot find binary path HOT 2
- Trouble installing bat on m1/arm64/AArch64 HOT 1
- Zellij: unable to install on m1 mac HOT 4
- grm confused whether to download checksum vs binary HOT 1
- Picking an asset should not be zero index based HOT 1
- Unable to automatically find binary for mac(eza-community/eza) HOT 1
- Feature request: support multiple binaries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grm.