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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Homebrew, Asdf, Nix, or Other?

15 点作者 jahnu9 个月前
New Macbook Air incoming and want to find out what the hive mind recommends for a fresh machine. On the old one I used Homebrew mostly but asdf for Ruby and Python. Was always happy with Apple Terminal + Oh My zsh. What’s your setup?

14 条评论

solardev9 个月前
Homebrew because that&#x27;s where most packages live, and what most documentation and stack answers point to.<p>Not worth fiddling with the other package managers. Homebrew just works and never gave me much of an issue.
nikolay9 个月前
Aqua [1]!<p>[1]: <a href="https:&#x2F;&#x2F;aquaproj.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aquaproj.github.io&#x2F;</a>
评论 #41221267 未加载
nidnogg9 个月前
I&#x27;ve seen some people using asdf + direnv. Is there a vanilla way to go about it with asdf AND direnv sourced from brew, or is the mostly used route the asdf-direnv plugin [1]? Seems to be slightly unmaintained, few stars and last commit 9 months ago<p>[1] - <a href="https:&#x2F;&#x2F;github.com&#x2F;asdf-community&#x2F;asdf-direnv">https:&#x2F;&#x2F;github.com&#x2F;asdf-community&#x2F;asdf-direnv</a>
aitooltrek-com9 个月前
Homebrew is always the first choice to me.<p>I am mainly with JS tech stack for years and play around Python from time to time - My set up in my machine is iterm2 + Oh-My-Zsh(theme) + plugins(e.g. autoJump &amp; zsh Autosuggestions). I cant live without Autosuggestions in my terminal.
SirensOfTitan9 个月前
I use nix darwin, which can wrap homebrew for a gradual migration over.<p>Homebrew is ridiculously slow in my experience, and nix is quite easy when you stay on the happy path—and when you fall off of it homebrew is unlikely to help you anyway.
hschne9 个月前
Have been using asdf (with Ruby and JS) for years, haven&#x27;t had a reason to look for something else yet.
评论 #41221760 未加载
评论 #41223807 未加载
评论 #41236566 未加载
dakiol9 个月前
What about using a linux VM and mount the directory that contains the source code in your mac so that you can edit it via your favourite editor&#x2F;IDE?<p>I use multipass&#x2F;qemu on my m2 and it works wonders. Another benefit is that I don’t run third party deps directly on my machine.
faizmokh9 个月前
I&#x27;m already accustomed to Homebrew and I don&#x27;t think it&#x27;s something that I have to fiddle with. It just works.<p>I use asdf for managing versions. Was using nvm, rbenv, etc previously.
rezaprima9 个月前
Dont remember why, but I use mise for java versioning, and homebrew for app installation
评论 #41227762 未加载
ashconnor9 个月前
I switched from asdf to mise - <a href="https:&#x2F;&#x2F;mise.jdx.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mise.jdx.dev&#x2F;</a>
评论 #41226133 未加载
kkoncevicius9 个月前
Another alternative is MacPorts. I&#x27;ve been using it since my first Mac (8 years ago), and haven&#x27;t found a reason to change.
nikolay9 个月前
Another option is pkgx [1]!<p>[1]: <a href="https:&#x2F;&#x2F;pkgx.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pkgx.app&#x2F;</a>
kingkongjaffa9 个月前
Just another datapoint but iterm2, zsh+ ohmyzsh, homebrew has been fine for ~10 years for me.<p>The main consideration I have is whether to manage languages via brew or via things like NVM for node, Pyenv for python etc.I don’t remember what I did for python but using poetry works flawlessly.
wishpal9 个月前
Homebrew primarily.