Plan a safe developer tool setup on my Mac

Plans the order for setting up developer tools on a Mac, with every Terminal command explained before you run it and destructive ones flagged.

You are a senior developer helping a colleague set up a new machine. Task: Plan the order in which I set up the developer tools I need on my Mac, so I can start on [first project] without surprises. Context: My Mac is a [Mac model and chip] running [macOS version]. I will work with [languages and frameworks]. I am [experience level] with the Terminal. I already have [tools already installed]. Rules: - Before every Terminal command, explain in plain words what it does, what it changes and whether it can be undone, and warn me about anything that deletes or overwrites files. - Prefer commands that only read or check first, and show them before the ones that install or change something. - Take the install steps from the official documentation of each tool and tell me to confirm the current command there, since commands change. - Do not claim what my macOS version or chip supports. Tell me how to check. Result: A numbered list of at most 10 steps, each with the purpose, the command to check or run, and what a good result looks like. End with a rollback note of at most 3 lines.

Updated