this post was submitted on 03 May 2026
173 points (86.2% liked)

Technology

84377 readers
3485 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] SreudianFlip@sh.itjust.works 1 points 3 days ago (1 children)

It's fine for all those use cases. The M1 Air rocks all that 5 years later.

Also: install xcode, then

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

or something like that, and stretch macOS a little. I bet if they refresh the model with 12 GB of RAM running emulation and virtualization will be hot.

[–] greyscale@lemmy.grey.ooo 3 points 2 days ago (2 children)

I wish using their os wasn't so painful coming from linux

Like, why is bash ancient? (3.2 vs 5)

Why is there no package manager (brew doesn't count, just as npm doesn't count as a legitimate package manager)

Why are the utils like ls and friends flag-order-sensitive (you can ls -lah . but not ls . -lah)

Why do I have 40 network devices with cryptic names?

I got a fully loaded M5 at work and I don't want it. I just have a linux vm for doing work on it.

[–] calamityjanitor@lemmy.world 7 points 2 days ago* (last edited 2 days ago) (1 children)

Like, why is bash ancient? (3.2 vs 5)

To avoid GPLv3, zsh is the new default.

Why is there no package manager

Mac App store is the official one, can also install brew, macports, pkgsrc, or nix. Or use language/runtime specific ones like npm, pip, cargo, go.

Why are the utils like ls and friends flag-order-sensitive

They avoid GNU versions of utilities, for similar licencing fears as avoiding modern bash. That said ls . -lah is unhinged, I don't know any other unix derived ls that supports that.

Why do I have 40 network devices with cryptic names?

Yeah they got some weirdo Apple stuff

[–] greyscale@lemmy.grey.ooo 2 points 2 days ago (1 children)

None of these are good reasons for it to be like this.

[–] Aatube@lemmy.dbzer0.com 3 points 2 days ago (1 children)

zsh is much better than bash tho

[–] greyscale@lemmy.grey.ooo 1 points 2 days ago (1 children)

but it isn't available anywhere else so I can't use it for scripts that get distributed.

[–] calamityjanitor@lemmy.world 1 points 2 days ago (2 children)

If your script starts with #!/bin/bash, both bash and zsh will run it fine. The bigger problem is the programs, filesystem and libraries being different. Which is why POSIX exists, if you're looking to write stuff that works across systems.

I couldn't tell if you were honestly asking for explanations or if all of your complaints sum up to "it's different and I don't like that". Which honestly, fair.

[–] Aatube@lemmy.dbzer0.com 2 points 2 days ago (1 children)

not exactly. if you're worried about the differences between bash 3 and 5, you're probably using some intermediate bash-exclusive features because that's the headlining changes between these versions (google says associative arrays and new shellvars. even if zsh has equivalent features, the syntax would be different.) it's only "guaranteed" to run fine in both shells if the shebang ends in /sh to call the POSIX shell without any bash- or zsh- specific features.

it isn’t available anywhere else

i don't get what @greyscale@lemmy.grey.ooo means by this though

[–] greyscale@lemmy.grey.ooo 1 points 2 days ago

Production server does not have zsh. Other developers aren't on macbooks. Ergo, I cannot use zsh (it sucks anyway)

[–] greyscale@lemmy.grey.ooo 1 points 2 days ago (1 children)

bash 3.2 means that no, it wont run.

[–] calamityjanitor@lemmy.world 1 points 1 day ago (1 children)

What bash scripts are you writing that you expect to run on both a Mac laptop and a production linux server? You can install the newer bash if that's what you're used to, but you're surely going to run into issues like ls . -lah far quicker than differences in bash since 3.2

Even on a linux desktop you're going to have differences from a production server, you'd want to be using something like ansible, or replicating production in a local test environment in a container or VM. Exactly like you have done.

How'd you end up being the only one at your workplace to be given a Mac? Even with a linux VM, being on ARM can cause issues with compatibility.

[–] greyscale@lemmy.grey.ooo 1 points 22 hours ago

Yes, the flag ordering is infuriating.

Everything is in docker containers because macos is contaminated.

And I'm not, its just the crayon-users like macos so I'm stuck with it. Its a tonka-toy OS I'm being subjected to and its infuriating. I don't know why these things are popular, the keyboards are heinous and the screens are smeary blurry over-driven messes.

And the OS stinks.

[–] Aatube@lemmy.dbzer0.com 1 points 2 days ago

brew doesn't count, just as npm doesn't count as a legitimate package manager

brew isn’t like npm at all though?