File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Distill
22
33[ ![ CI] ( https://github.com/Siddhant-K-code/distill/actions/workflows/ci.yml/badge.svg )] ( https://github.com/Siddhant-K-code/distill/actions/workflows/ci.yml )
4+ [ ![ Release] ( https://img.shields.io/github/v/release/Siddhant-K-code/distill )] ( https://github.com/Siddhant-K-code/distill/releases/latest )
45[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/Siddhant-K-code/distill )] ( https://goreportcard.com/report/github.com/Siddhant-K-code/distill )
56[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
67
@@ -42,18 +43,23 @@ Download from [GitHub Releases](https://github.com/Siddhant-K-code/distill/relea
4243
4344``` bash
4445# macOS (Apple Silicon)
45- curl -L https://github.com/Siddhant-K-code/distill/releases/latest/download/distill_Darwin_arm64. tar.gz | tar xz
46+ curl -sL $( curl -s https://api. github.com/repos/ Siddhant-K-code/distill/releases/latest | grep " browser_download_url.*darwin_arm64. tar.gz" | cut -d ' " ' -f 4 ) | tar xz
4647
4748# macOS (Intel)
48- curl -L https://github.com/Siddhant-K-code/distill/releases/latest/download/distill_Darwin_amd64. tar.gz | tar xz
49+ curl -sL $( curl -s https://api. github.com/repos/ Siddhant-K-code/distill/releases/latest | grep " browser_download_url.*darwin_amd64. tar.gz" | cut -d ' " ' -f 4 ) | tar xz
4950
5051# Linux (amd64)
51- curl -L https://github.com/Siddhant-K-code/distill/releases/latest/download/distill_Linux_amd64.tar.gz | tar xz
52+ curl -sL $( curl -s https://api.github.com/repos/Siddhant-K-code/distill/releases/latest | grep " browser_download_url.*linux_amd64.tar.gz" | cut -d ' "' -f 4) | tar xz
53+
54+ # Linux (arm64)
55+ curl -sL $( curl -s https://api.github.com/repos/Siddhant-K-code/distill/releases/latest | grep " browser_download_url.*linux_arm64.tar.gz" | cut -d ' "' -f 4) | tar xz
5256
5357# Move to PATH
5458sudo mv distill /usr/local/bin/
5559```
5660
61+ Or download directly from the [ releases page] ( https://github.com/Siddhant-K-code/distill/releases/latest ) .
62+
5763### Go Install
5864
5965``` bash
You can’t perform that action at this time.
0 commit comments