Skip to content

Commit

Permalink
Update README for v0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
marwanhawari committed Apr 7, 2024
1 parent ed3f20f commit a9bedcc
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 71 deletions.
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* No need for `sudo`.
* Just a single binary with 0 dependencies.
* Portable [`Stewfile`](https://github.com/marwanhawari/stew/blob/main/examples/Stewfile) with optional pinned versioning.
* Headless batch installs from a `Stewfile.lock.json` file.

![demo](https://github.com/marwanhawari/stew/raw/main/assets/demo.gif)

Expand All @@ -55,16 +56,6 @@ Stew supports macOS, Linux, and Windows.
```
</details>

<details>
<summary>Debian/Ubuntu</summary>

```sh
apt update && apt install -y software-properties-common
add-apt-repository ppa:marwanhawari/stew
apt update && apt install -y stew
```
</details>

<details>
<summary>Arch</summary>

Expand Down Expand Up @@ -103,13 +94,15 @@ Compiled binaries can be downloaded from the [releases page](https://github.com/
# Install from GitHub releases
stew install junegunn/fzf # Install the latest release
stew install junegunn/[email protected] # Install a specific, tagged version
stew install junefunn/fzf sharkdp/fd # Install multiple binaries in a single command

# Install directly from a URL
stew install https://github.com/cli/cli/releases/download/v2.4.0/gh_2.4.0_macOS_amd64.tar.gz

# Install from an Stewfile
stew install Stewfile

# Install headlessly from a Stewfile.lock.json
stew install Stewfile.lock.json
```

### Search
Expand Down Expand Up @@ -150,7 +143,6 @@ stew rename rg # Rename using the name of the binary directly
stew list # Print to console
stew list > Stewfile # Create an Stewfile without pinned tags
stew list --tags > Stewfile # Pin tags
stew list --tags --assets > Stewfile # Pin tags and assets
```

### Config
Expand Down
124 changes: 65 additions & 59 deletions examples/Stewfile.lock.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,66 @@
{
"os": "darwin",
"arch": "arm64",
"packages": [
{
"source": "github",
"owner": "cli",
"repo": "cli",
"tag": "v2.4.0",
"asset": "gh_2.4.0_macOS_amd64.tar.gz",
"binary": "gh",
"url": "https://github.com/cli/cli/releases/download/v2.4.0/gh_2.4.0_macOS_amd64.tar.gz"
},
{
"source": "github",
"owner": "junegunn",
"repo": "fzf",
"tag": "0.29.0",
"asset": "fzf-0.29.0-darwin_arm64.zip",
"binary": "fzf",
"url": "https://github.com/junegunn/fzf/releases/download/0.29.0/fzf-0.29.0-darwin_arm64.zip"
},
{
"source": "other",
"owner": "",
"repo": "",
"tag": "",
"asset": "hyperfine-v1.12.0-x86_64-apple-darwin.tar.gz",
"binary": "hyperfine",
"url": "https://github.com/sharkdp/hyperfine/releases/download/v1.12.0/hyperfine-v1.12.0-x86_64-apple-darwin.tar.gz"
},
{
"source": "github",
"owner": "marwanhawari",
"repo": "ppath",
"tag": "v0.0.3",
"asset": "ppath-v0.0.3-darwin-arm64.tar.gz",
"binary": "ppath",
"url": "https://github.com/marwanhawari/ppath/releases/download/v0.0.3/ppath-v0.0.3-darwin-arm64.tar.gz"
},
{
"source": "github",
"owner": "BurntSushi",
"repo": "ripgrep",
"tag": "13.0.0",
"asset": "ripgrep-13.0.0-x86_64-apple-darwin.tar.gz",
"binary": "rg",
"url": "https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-apple-darwin.tar.gz"
},
{
"source": "github",
"owner": "sharkdp",
"repo": "fd",
"tag": "v8.3.0",
"asset": "fd-v8.3.0-x86_64-apple-darwin.tar.gz",
"binary": "fd",
"url": "https://github.com/sharkdp/fd/releases/download/v8.3.0/fd-v8.3.0-x86_64-apple-darwin.tar.gz"
}
]
}
"os": "darwin",
"arch": "arm64",
"packages": [
{
"source": "github",
"owner": "cli",
"repo": "cli",
"tag": "v2.4.0",
"asset": "gh_2.4.0_macOS_amd64.tar.gz",
"binary": "gh",
"url": "https://api.github.com/repos/cli/cli/releases/assets/52291468",
"binaryHash": "3e8e0472078dc84b435ee5b08b0c783e584fac0e20f28d2018bf20f6dbcf0021"
},
{
"source": "github",
"owner": "junegunn",
"repo": "fzf",
"tag": "0.29.0",
"asset": "fzf-0.29.0-darwin_arm64.zip",
"binary": "fzf",
"url": "https://api.github.com/repos/junegunn/fzf/releases/assets/52520157",
"binaryHash": "d714e1b5b4b09477fa65b866dc0407ba4c548a9eea9e73cec804e6c6921f4fd3"
},
{
"source": "other",
"owner": "",
"repo": "",
"tag": "",
"asset": "hyperfine-v1.12.0-x86_64-apple-darwin.tar.gz",
"binary": "hyperfine",
"url": "https://github.com/sharkdp/hyperfine/releases/download/v1.12.0/hyperfine-v1.12.0-x86_64-apple-darwin.tar.gz",
"binaryHash": "831b8856089f50dd805ca42d2c611cca8ae45c87bca97a2616251f0f64d46922"
},
{
"source": "github",
"owner": "marwanhawari",
"repo": "ppath",
"tag": "v0.0.3",
"asset": "ppath-v0.0.3-darwin-arm64.tar.gz",
"binary": "ppath",
"url": "https://api.github.com/repos/marwanhawari/ppath/releases/assets/52676091",
"binaryHash": "47ac51e4e2bbe23db7a7b2ce3138d8dcaeb0a5af9bcd24db5eafea1fba9c684e"
},
{
"source": "github",
"owner": "BurntSushi",
"repo": "ripgrep",
"tag": "13.0.0",
"asset": "ripgrep-13.0.0-x86_64-apple-darwin.tar.gz",
"binary": "rg",
"url": "https://api.github.com/repos/BurntSushi/ripgrep/releases/assets/38486907",
"binaryHash": "7f7640eedc1dd6dcc04d6ebb34733622cf982e8121c3e0cc68f86b49606fdb07"
},
{
"source": "github",
"owner": "sharkdp",
"repo": "fd",
"tag": "v8.3.0",
"asset": "fd-v8.3.0-x86_64-apple-darwin.tar.gz",
"binary": "fd",
"url": "https://api.github.com/repos/sharkdp/fd/releases/assets/50402413",
"binaryHash": "8435fb41d9b625ce36c7d7728a680387ed92c555ecb0d5edff9a78cb3ad187a2"
}
]
}

0 comments on commit a9bedcc

Please sign in to comment.