TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How should I setup my M1 mac for software development

4 点作者 mraza007将近 4 年前
Hello everyone, I recently got a M1 powered mac and I would love to hear how to set it up as a software developer machine.<p>I did install iTerm2 so far but tried installing Kitty some how its not supported on M1 yet so I’m sticking to iTerm2

2 条评论

Turing_Machine将近 4 年前
1) Install XCode and the associated command line utilities. This will get you all of Apple&#x27;s tooling.<p>2) Install Homebrew. That will let you get (and stay current with) just about anything else you need. Homebrew has supported M1 for a while now.<p>At least for now, MacOS does come with some stuff like Ruby and Python already installed, but that&#x27;s not going to be the case forever, and the versions that come with the system tend to be pretty far out of date. You many want to install node and npm too.<p>I recommend installing newer ones using Homebrew (or some other package manager of your choice) unless you have some strong reason for wanting to use the version that comes with MacOS.<p>Ruby, Python, and Node are often used as scripting glue for other developer tools (even ones that don&#x27;t specifically use those languages) so I think it&#x27;s good to have current versions of all of those.<p>Depending on what you&#x27;re doing, you may or may not want to install gcc. Apple&#x27;s C (which comes with XCode) is LLVM-based these days.<p>For many things it doesn&#x27;t matter, but for a few packages only gcc can build them properly. I&#x27;m holding off on installing that until I need it, personally. So far I haven&#x27;t, but I&#x27;ve only had my M1 for about a month and have mostly been doing Node stuff with it. I did have gcc on my old machine, because there were a couple of things I used from time to time that needed it.
评论 #27907508 未加载
rvz将近 4 年前
You are very lucky that you weren&#x27;t part of the November 2020 launch day chaos. Lots of software used by the developer ecosystem completely didn&#x27;t work at all.<p>Now some of the most of the essentials should work completely out of the box.<p>But it depends, what sort of work do you wish to use it for? Backend, Frontend, Mobile, Web? It all depends, but more generally at the time of launch last year, you would be very disappointed.
评论 #27900319 未加载