Skip to content

Commit a72d168

Browse files
committed
Simplify install command
1 parent cc26418 commit a72d168

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

INSTALL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ ShipNode offers two installation workflows:
1111

1212
## For Users: Quick Install (Recommended)
1313

14-
Download and run the self-extracting installer:
14+
Run the installer:
1515

1616
```bash
17-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
17+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh | bash
1818
```
1919

2020
Or download manually:
@@ -216,7 +216,7 @@ cd /path/to/shipnode
216216
To update to the latest version, simply download and run the installer again:
217217

218218
```bash
219-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
219+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh | bash
220220
```
221221

222222
### For Developers (Cloned from Source)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ shipnode deploy ───rsync──▶ /var/www/myapp/
3434
### 1. Install
3535

3636
```bash
37-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
37+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh | bash
3838
```
3939

4040
Or clone and run directly:

build-dist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,5 +246,5 @@ echo "Usage:"
246246
echo -e " ${BLUE}bash $DIST_DIR/$INSTALLER_NAME${NC}"
247247
echo
248248
echo "Or upload to GitHub releases for users to download:"
249-
echo -e " ${BLUE}curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh${NC}"
249+
echo -e " ${BLUE}curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh | bash${NC}"
250250
echo

docs/advanced/distribution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This document explains the distribution system for ShipNode, allowing users to i
77
The distribution system packages ShipNode into a single self-extracting installer that users can download and run. This makes installation as simple as:
88

99
```bash
10-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
10+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh | bash
1111
```
1212

1313
## How It Works
@@ -94,7 +94,7 @@ Creates `dist/shipnode-installer.sh` (~21KB)
9494

9595
Users install with:
9696
```bash
97-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
97+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh | bash
9898
```
9999

100100
### 2. Direct Download

docs/getting-started/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Install ShipNode on your local machine to deploy apps to your server.
1010

1111
## Install (Recommended)
1212

13-
Download and run the self-extracting installer:
13+
Run the installer:
1414

1515
```bash
16-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
16+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh | bash
1717
```
1818

1919
Or download manually:
@@ -64,7 +64,7 @@ To update to the latest version:
6464

6565
```bash
6666
# Installed via installer
67-
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh -o shipnode-installer.sh && bash shipnode-installer.sh
67+
curl -fsSL https://github.com/devalade/shipnode/releases/latest/download/shipnode-installer.sh | bash
6868

6969
# From source
7070
cd shipnode

website/src/components/GetStarted.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<h2 class="section-title">Install once. Deploy from the project folder.</h2>
99
</div>
1010
<div class="cta-panel">
11-
<code>curl -fsSL https://shipnode.dev/install -o shipnode-installer.sh && bash shipnode-installer.sh</code>
11+
<code>curl -fsSL https://shipnode.dev/install | bash</code>
1212
<div class="cta-links">
1313
<a href="https://github.com/devalade/shipnode" target="_blank" rel="noopener" class="primary">View source</a>
1414
<a href="https://github.com/devalade/shipnode#getting-started" target="_blank" rel="noopener">Read docs</a>

website/src/components/Hero.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</p>
1313
<div class="hero-actions">
1414
<div class="install-cmd" id="install-cmd">
15-
<code>curl -fsSL https://shipnode.dev/install -o shipnode-installer.sh && bash shipnode-installer.sh</code>
15+
<code>curl -fsSL https://shipnode.dev/install | bash</code>
1616
<button class="copy-btn" id="copy-btn" aria-label="Copy install command">
1717
<svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
1818
<rect x="9" y="9" width="12" height="12" rx="2"></rect>
@@ -355,7 +355,7 @@
355355
</style>
356356

357357
<script>
358-
const installCommand = "curl -fsSL https://shipnode.dev/install -o shipnode-installer.sh && bash shipnode-installer.sh";
358+
const installCommand = "curl -fsSL https://shipnode.dev/install | bash";
359359
const copyBtn = document.getElementById("copy-btn");
360360
const toast = document.getElementById("copy-toast");
361361
let toastTimer: number | undefined;

0 commit comments

Comments
 (0)