[Blockchain] Cosmos Starport 安装的三种方式

通过llama.cpp与羊驼聊天的网页界面- 详解 Serge 的启动使用

 

官方二进制包方式:

# 下载 starport 二进制到 /usr/local/bin
$ curl https://get.starport.network/starport! | bash
 
# 如果没有权限,分两步:
$ curl https://get.starport.network/starport | bash
$ sudo mv starport /usr/local/bin/

 

Macos Homebrew 方式:

$ brew install tendermint/tap/starport

 

Source code源码构建方式:

# 构建完将会把 starport 安装到 $GOPATH 目录, 注意你的 GOPATH 有没有设置过. Other Ref github.com/farwish/go-lab

$ git clone https://github.com/tendermint/starport --depth=1
$ cd starport && make

 

最后使用 starport 需要依赖 protobuf,选择适合的方式:

https://grpc.io/docs/protoc-installation/

 

Official: https://cosmos.network/starport/

Doc: https://docs.starport.network/intro/install

Tutorial: https://tutorials.cosmos.network/blog/tutorial/01-index.html

Link: https://www.cnblogs.com/farwish/p/14783218.html

posted on 2021-05-18 23:15  ercom  阅读(249)  评论(0编辑  收藏  举报