yuw1xx/install ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple install script for Linux that works on as many distros as possible.
I want a shell script that can detect the distro, figure out the right package manager, and install whatever basic tools or apps are needed without me having to think about it. Make it easy to run from the terminal, give clear messages while it is working, and handle common errors nicely if something is missing or the system is not supported. If it needs to ask for confirmation or sudo access, do that in a friendly way.
Keep it lightweight and practical, since this is just my personal install script. If there are any current best practices or distro specific quirks I should know about, look them up online and use the latest info. Also make sure the script is readable and easy to update later so I can add more installs over time.
Are you gonna build this?
make sure you review the code using coderabbit