Skip to content

Commit

Permalink
Update installation instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-Tan committed Mar 30, 2024
1 parent 0629628 commit e8574ac
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -11,19 +11,17 @@ A simple system dependency tool to list/install the apt/pip dependencies based o

## Install

### ~/local/bin

Ensure directory exists, and `PATH=~/.local/bin:$PATH`

`curl -L https://github.com/Benjamin-Tan/sysdep/releases/download/v0.1.0/sysdep-$(arch)-unknown-linux-gnu.tar.gz | tar -xz -C ~/.local/bin`

### /usr/local/bin

`curl -L https://github.com/Benjamin-Tan/sysdep/releases/download/v0.1.0/sysdep-$(arch)-unknown-linux-gnu.tar.gz | sudo tar -xz -C /usr/local/bin`
```bash
# To install to `~/local/bin`, ensure directory exists and `PATH=~/.local/bin:$PATH`
# For latest version
curl -L https://github.com/Benjamin-Tan/sysdep/releases/latest/download/sysdep-$(arch)-unknown-linux-gnu.tar.gz | tar -xz -C ~/.local/bin

### Latest version
# For specific version,
curl -L https://github.com/Benjamin-Tan/sysdep/releases/download/v0.1.0/sysdep-$(arch)-unknown-linux-gnu.tar.gz | tar -xz -C ~/.local/bin

`curl -L https://github.com/Benjamin-Tan/sysdep/releases/download/latest/sysdep-$(arch)-unknown-linux-gnu.tar.gz | sudo tar -xz -C /usr/local/bin`
# To install to `/usr/local/bin`
curl -L https://github.com/Benjamin-Tan/sysdep/releases/download/v0.1.0/sysdep-$(arch)-unknown-linux-gnu.tar.gz | sudo tar -xz -C /usr/local/bin
```

## Usage

0 comments on commit e8574ac

Please sign in to comment.