Skip to content

Improved error message when installing thin-edge.io on unsupported operating systems #4195

Description

@reubenmiller

Is your feature improvement request related to a problem? Please describe.

If a user tries to install thin-edge.io via the thin-edge.io/install.sh script on a MacOS (which is officially unsupported), then the error reason is very clear that it isn't supported.

Below shows an example of the output

wget -O - thin-edge.io/install.sh | sh -s

Detected package manager: tarball
Detected init system:     
Unsupported argument init system. 

Downloading https://dl.cloudsmith.io/public/thinedge/tedge-release/raw/names/tedge-arm64/versions/latest/tedge.tar.gz...Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Failed to install [thin-edge.io](http://thin-edge.io/)

Reason: Could not download package from url: https://dl.cloudsmith.io/public/thinedge/tedge-release/raw/names/tedge-arm64/versions/latest/tedge.tar.gz
Please create a ticket using the following link and include the console output
    https://github.com/thin-edge/thin-edge.io/issues/new?assignees=&labels=bug&template=bug_report.md

--------------- machine details ---------------------
date:           Fri May 29 12:22:59 CEST 2026
tedge:          
Machine:        Darwin Mac 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:43 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8132 arm64
Architecture:   
Package Arch:   arm64

--------------- error details ------------------------
Detected package manager: tarball
Detected init system:     
Unsupported argument init system. 
Package manager () does not support installing extra packages. Trying to continue anyway
sudo: 3 incorrect password attempts
Failed to install [thin-edge.io](http://thin-edge.io/)
Reason: Could not download package from url: https://dl.cloudsmith.io/public/thinedge/tedge-release/raw/names/tedge-arm64/versions/latest/tedge.tar.gz
Please create a ticket using the following link and include the console output
    https://github.com/thin-edge/thin-edge.io/issues/new?assignees=&labels=bug&template=bug_report.md

Describe the solution you'd like

Some pre-checks would be useful to:

  • check if the user is able to use sudo
  • check if the os family is supported. e.g. fail on Windows or macOS

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions