diff --git a/hugo-site/content/quickstart/_index.md b/hugo-site/content/quickstart/_index.md index cab982bf..3247ace7 100644 --- a/hugo-site/content/quickstart/_index.md +++ b/hugo-site/content/quickstart/_index.md @@ -16,25 +16,7 @@ Get started with Freenet in minutes. Install the software and join River—the w ## Step 1: Install Freenet -### Linux & macOS - -Run this command in your terminal: - -```bash -curl -fsSL https://freenet.org/install.sh | sh -``` - -This downloads and installs Freenet, then starts it as a background service. - -### Windows - -Install from source with [Cargo](https://rustup.rs/): - -```bash -cargo install freenet -``` - -Then start Freenet with `freenet network`. +{{< os-install >}} ## Step 2: Join Freenet Official diff --git a/hugo-site/layouts/shortcodes/os-install.html b/hugo-site/layouts/shortcodes/os-install.html new file mode 100644 index 00000000..a9d24f55 --- /dev/null +++ b/hugo-site/layouts/shortcodes/os-install.html @@ -0,0 +1,154 @@ + + +
+
+ + + +
+ +
+

Download freenet.exe + and run it. The setup wizard will guide you through installation, then start Freenet as a background + service with a system tray icon.

+
+ +
+

Run this command in your terminal:

+
curl -fsSL https://freenet.org/install.sh | sh
+

This downloads and installs Freenet, then starts it as a background service.

+
+ +
+

Run this command in your terminal:

+
curl -fsSL https://freenet.org/install.sh | sh
+

This downloads and installs Freenet, then starts it as a background service.

+
+
+ +