Skip to content

Commit 8b6e7ff

Browse files
committed
docs: redirect get.binary.help to install
1 parent 05500d3 commit 8b6e7ff

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

docs/getting-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ Get up and running with **b** in just a few minutes. **b** helps you manage comm
1717
<TabItem value="curl" label="curl" default>
1818

1919
```bash
20-
curl -sSL https://github.com/fentas/b/releases/latest/download/install.sh | bash
20+
curl -sSL https://get.binary.help | bash
2121
```
2222

2323
</TabItem>
2424
<TabItem value="wget" label="wget">
2525

2626
```bash
27-
wget -qO- https://github.com/fentas/b/releases/latest/download/install.sh | bash
27+
wget -qO- https://get.binary.help | bash
2828
```
2929

3030
</TabItem>
@@ -105,7 +105,7 @@ Use **b** in your CI/CD pipelines:
105105
steps:
106106
- uses: actions/checkout@v4
107107
- name: Install b
108-
run: curl -sSL https://github.com/fentas/b/releases/latest/download/install.sh | bash
108+
run: curl -sSL https://get.binary.help | bash
109109
- name: Install project tools
110110
run: b install
111111
- name: Run tests

docs/troubleshooting.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ This guide covers common issues you might encounter when using **b** and their s
1616
**Solution**:
1717
```bash
1818
# Make sure you have write permissions to the installation directory
19-
sudo curl -sSL https://github.com/fentas/b/releases/latest/download/install.sh | bash
19+
# https://github.com/fentas/b/releases/latest/download/install.sh
20+
sudo curl -sSL https://get.binary.help | bash
2021

2122
# Or install to a user directory
22-
curl -sSL https://github.com/fentas/b/releases/latest/download/install.sh | bash -s -- --prefix=$HOME/.local
23+
# https://github.com/fentas/b/releases/latest/download/install.sh
24+
curl -sSL https://get.binary.help | bash -s -- --prefix=$HOME/.local
2325
```
2426

2527
### Command Not Found
@@ -269,7 +271,7 @@ b update --strategy=client
269271
steps:
270272
- name: Install b
271273
run: |
272-
curl -sSL https://github.com/fentas/b/releases/latest/download/install.sh | bash
274+
curl -sSL https://get.binary.help | bash
273275
echo "$HOME/.local/bin" >> $GITHUB_PATH
274276
275277
- name: Verify b installation
@@ -286,13 +288,13 @@ steps:
286288
**Solution**:
287289
```dockerfile
288290
# Install b in Dockerfile
289-
RUN curl -sSL https://github.com/fentas/b/releases/latest/download/install.sh | bash
291+
RUN curl -sSL https://get.binary.help | bash
290292
ENV PATH="/root/.local/bin:$PATH"
291293
292294
# Or use multi-stage build
293295
FROM alpine AS b-installer
294296
RUN apk add --no-cache curl
295-
RUN curl -sSL https://github.com/fentas/b/releases/latest/download/install.sh | bash
297+
RUN curl -sSL https://get.binary.help | bash
296298
297299
FROM alpine
298300
COPY --from=b-installer /root/.local/bin/b /usr/local/bin/b

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
# b installer — https://github.com/fentas/b
3-
# Usage: curl -sSL https://github.com/fentas/b/releases/latest/download/install.sh | bash
3+
# Usage: curl -sSL https://get.binary.help | bash
44
set -e
55

66
REPO="fentas/b"

0 commit comments

Comments
 (0)