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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What's your new computer/VM bootstrapping approach?

2 点作者 monroewalker6 个月前
I&#x27;m finally feeling that I&#x27;ve gone through the setup process for a new computer enough times that I&#x27;m ready to setup a repo to host some install script I can just curl into bash. Some thoughts I have so far:<p>- goal is to have something like `curl https:&#x2F;&#x2F;somesiteorgithub.com&#x2F;myscript | bash` which will bring a given computer up to date with whatever the latest changes are that I&#x27;ve made to my setup - script should be re-runnable without causing issues and to install anything new on machine x that I&#x27;ve added on machine y - dotfiles should be updated too - will probably have the script checkout a setup repo I&#x27;ll use to store everything and then have the script pull if the repo is already there - will symlink dotfiles from the setup repo - sharing shell history in some way might be nice.. haven&#x27;t looked into how that might be done yet though<p>For those that have already gone through this process, any recommendations? Any unexpected obstacles to getting something working? Any good publicly shared references for something like this?<p>edit: Claude provided the following in response to a similar question: ``` Yes! These are often called &quot;dotfiles,&quot; &quot;bootstrap scripts,&quot; or &quot;system initialization scripts.&quot; Several notable developers and organizations maintain public versions. Here are some popular examples:<p>Popular Individual Dotfiles: Mathias Bynens&#x27; dotfiles - One of the most starred dotfiles repos Paul Irish&#x27;s dotfiles - Frontend-focused setup Thoughtbot&#x27;s laptop - Professional development company&#x27;s setup holman&#x2F;dotfiles - Organized by topic, very well structured Companies&#x27; Setup Scripts: Github&#x27;s codespaces dotfiles Thoughtbot&#x27;s dotfiles Tools&#x2F;Frameworks: mac-dev-playbook - Ansible-based setup Homebrew Bundle - Brewfile approach mackup - Keep application settings in sync Dotfiles Managers: dotbot chezmoi yadm Resources to find more:<p>dotfiles.github.io - GitHub&#x27;s guide to dotfiles awesome-dotfiles - Curated list of dotfiles resources ```<p>I&#x27;ll check out the references later. Curious if anyone has some experience with any of the above that&#x27;s worth sharing.

暂无评论

暂无评论