overlayed
overlayed copied to clipboard
Windows & Linux One Line Installers
An installer script for Linux and Windows would be excellent, and I would be willing to add them. It's pretty simple to make them nowadays, and you can make a simple Cloudflare worker to handle sending the correct script to the user. Here's how I thought about implementing it:
Because Windows is a .msi, you can use msiexec
to install the msi within a PowerShell script. It's pretty simple to get the latest version using the GitHub API.
For Linux, .debs can be installed using dkpg -i
; the only caveat is that dkpg
must be run as root.
There's no use for Mac as Homebrew already has a package for overlayed package.
Let me know what you think
Can you link examples of how other popular tools do this? Rust seems to just give you the exe to download/run.
I'd imagine it'd be something like this for windows but wanna see what the vibe is.
powershell -command "& {Invoke-WebRequest -Uri '<CDN_URL>' -OutFile 'installer.exe'}; Start-Process 'installer.exe' -Wait; Remove-Item 'installer.exe'"
Also FWIW, you can find the latest download bins here, so this might help when scripting it.
https://api.overlayed.dev/latest
You can send a PR for this if you have a good lookin™ command for winderz.
Closing the issue for now though!
Here is a bun tweet and they do https://x.com/bunjavascript/status/1796856115877359694?s=46&t=wcJWAj_mdr7mNg_eOgQdPA
powershell -c "irm bun.sh/install.ps1 | iex"