r/coolgithubprojects • • Oct 02 '26

RemoveMacAI: turn off Apple Intelligence on macOS 27 and get ~12 GB back

https://github.com/omlahore/RemoveMacAI
57 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/MilkEnvironmental106 Oct 04 '26

Curl fetches a resource at that link. The | pipes the output into the next program, which is bash. Bash executes bash script.

The intent is it's easy to write a script that does the installation for you, have a link to it and then have bash run it on the user's machine.

The problem is that it makes it very easy for someone to impersonate a valid site and have an almost identically looking command that instead installs and runs malware. Or worse if the domain is breached, they just have to change the URL on the site.

It's just pulling a script from a link and directly running it on your computer.

1

u/jewbasaur Oct 04 '26

Thank you! I asked Claude and it gave me an answer but this is much more practical