[PR #775] [MERGED] Add single line installer #12978

Closed
opened 2026-08-05 02:07:09 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/775
Author: @bcmmbaga
Created: 3/30/2023
Status: Merged
Merged: 4/3/2023
Merged by: @mlsmaycon

Base: mainHead: main


📝 Commits (10+)

  • 0f56499 add single installer script
  • 49fcdd8 suppress user input and start service for binary installation
  • f3cae51 build and install via pacman
  • 1c503a3 install release binaries if supportes MacOSpackage manager is not available
  • a0fe5f9 run commands as sudo and notify on successfull install
  • 9fb5bfe log messages to user
  • 37f1733 fix netbird UI signature issue in MacOS
  • dfae494 configure AUR repository and perform cleanup after installation
  • 641eb5c wrap apt repo into function
  • 20308ff update rpm repository links and name

📊 Changes

3 files changed (+381 additions, -0 deletions)

View changed files

.github/workflows/install-test-darwin.yml (+58 -0)
.github/workflows/install-test-linux.yml (+36 -0)
release_files/install.sh (+287 -0)

📄 Description

Describe your changes

This is a shell script that installs the Netbird applications (CLI and UI) on a Linux or macOS system.

The shell script is designed to work with various Linux operating systems, including but not limited to Ubuntu, Fedora, Debian, CentOS, Raspberry Pi OS, Arch Linux, Alpine Linux, etc. The supported architectures include amd64, arm64, and 386. It can also be used on Mac OS, both on Intel and Apple Silicon architectures.

Features

  • Detects for officially supported package managers (apt, dnf, yum, brew) and installs via the respective package manager.
  • Installs appropriate binaries based on the system's architecture and operating system type if package manager is not supported.
  • Skip netbird-ui installation for Linux systems that lack a desktop environment or for systems that have an unsupported architecture.

For testing
curl -fsSL https://raw.githubusercontent.com/bcmmbaga/netbird/main/release_files/install.sh | sh

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/775 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 3/30/2023 **Status:** ✅ Merged **Merged:** 4/3/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`0f56499`](https://github.com/netbirdio/netbird/commit/0f56499e281076cd700fd442526e992b982c1f31) add single installer script - [`49fcdd8`](https://github.com/netbirdio/netbird/commit/49fcdd8d7fe23f476a41bdc1262a5a44df6d19e2) suppress user input and start service for binary installation - [`f3cae51`](https://github.com/netbirdio/netbird/commit/f3cae515da82c7c01170e9192513b8f1121da667) build and install via pacman - [`1c503a3`](https://github.com/netbirdio/netbird/commit/1c503a3e20b92d3b6bc08cd3ad02e97ba67fe89e) install release binaries if supportes MacOSpackage manager is not available - [`a0fe5f9`](https://github.com/netbirdio/netbird/commit/a0fe5f9080fa408e96b6698b6247e9f02f36bf3e) run commands as sudo and notify on successfull install - [`9fb5bfe`](https://github.com/netbirdio/netbird/commit/9fb5bfef9590f46bb6630e072dda89ada278ca82) log messages to user - [`37f1733`](https://github.com/netbirdio/netbird/commit/37f1733769abe32d940b0978bdc6fb7b68d7920e) fix netbird UI signature issue in MacOS - [`dfae494`](https://github.com/netbirdio/netbird/commit/dfae4943a249cdffbd8664893d42c4c061c8c7a8) configure AUR repository and perform cleanup after installation - [`641eb5c`](https://github.com/netbirdio/netbird/commit/641eb5cf32644380c9ab1af46a957047936b842a) wrap apt repo into function - [`20308ff`](https://github.com/netbirdio/netbird/commit/20308ff8b7bf0c5040868f6a0bac74e094f48890) update rpm repository links and name ### 📊 Changes **3 files changed** (+381 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/install-test-darwin.yml` (+58 -0) ➕ `.github/workflows/install-test-linux.yml` (+36 -0) ➕ `release_files/install.sh` (+287 -0) </details> ### 📄 Description ## Describe your changes This is a shell script that installs the Netbird applications (CLI and UI) on a Linux or macOS system. The shell script is designed to work with various Linux operating systems, including but not limited to Ubuntu, Fedora, Debian, CentOS, Raspberry Pi OS, Arch Linux, Alpine Linux, etc. The supported architectures include amd64, arm64, and 386. It can also be used on Mac OS, both on Intel and Apple Silicon architectures. ### Features - Detects for officially supported package managers (apt, dnf, yum, brew) and installs via the respective package manager. - Installs appropriate binaries based on the system's architecture and operating system type if package manager is not supported. - Skip netbird-ui installation for Linux systems that lack a desktop environment or for systems that have an unsupported architecture. For testing `curl -fsSL https://raw.githubusercontent.com/bcmmbaga/netbird/main/release_files/install.sh | sh` ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:07:09 -04:00
saavagebueno changed title from [PR #775] Add single line installer to [PR #775] [MERGED] Add single line installer 2026-08-05 03:07:38 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12978