xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

macOS darwin/amd64 vs Darwin/x86_64 All In One

macOS darwin/amd64 vs Darwin/x86_64 All In One

uname

# uname
$ uname
Darwin
$ uname -a
Darwin xgqfrms-mm.local 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:08:47 PST 2022; root:xnu-8792.61.2~4/RELEASE_X86_64 x86_64

$ go version
go version go1.19.4 darwin/amd64

??? darwin/amd64 === Darwin/x86_64

image

image

https://go.dev/

https://go.dev/dl/

https://dl.google.com/go/go1.19.4.darwin-amd64.pkg

image

docker-compose


# $ curl -L https://github.com/docker/compose/releases/download/v2.14.2/docker-compose-darwin-aarch64 >  /usr/local/bin/docker-compose ❌
# $ curl -L https://github.com/docker/compose/releases/download/v2.14.2/docker-compose-darwin-x86_64 > /usr/local/bin/docker-compose ✅

# 动态生成对应的系统架构的下载版本 URL
$ curl -L https://github.com/docker/compose/releases/download/v2.14.2/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose

$ ls -l /usr/local/bin/docker-compose

$ chmod a+x /usr/local/bin/docker-compose

$ docker-compose --version

(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!

refs

https://www.cnblogs.com/xgqfrms/p/13599290.html

https://www.cnblogs.com/xgqfrms/p/17020855.html

https://github.com/xgqfrms/go/issues/3#issuecomment-1372165584



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2023-01-06 06:42  xgqfrms  阅读(689)  评论(1编辑  收藏  举报