Skip to content

Commit

Permalink
install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mk committed Jan 6, 2024
1 parent e08deeb commit 46de9eb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
goarch: [amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
- goarch: arm64
goos: darwin
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
Expand Down
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

CLI tool for simply getting cryptocurrency prices from 8 big exchanges. No API key needed.

Exchanges are:
Supported exchanges are:
- Binance
- Coinbase
- Kraken
Expand All @@ -12,6 +12,28 @@ Exchanges are:
- BitFinex
- Huobi

## Install

To install latest release for Linux:

```sh
wget -O pri https://github.com/t0mk/pri/releases/latest/download/pri-linux-amd64 && chmod +x pri && sudo cp pri /usr/local/bin/
```

.. for MacOS:

```sh
wget -O pri https://github.com/t0mk/pri/releases/latest/download/pri-darwin-amd64 && chmod +x pri && sudo cp pri /usr/local/bin/
```

## Build

```sh
git clone https://github.com/t0mk/pri
cd pri
go build
```

## Usage

Get price of a crypto pair, for example BTC-USDT
Expand Down

0 comments on commit 46de9eb

Please sign in to comment.