
samhvw8/dotfiles
Data science & ML이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MacOS 및 Linux 시스템에 대한 개발 환경을 구성하는 종합적인 dotfiles 설정 스크립트.
개요
MacOS 및 Linux 시스템에 대한 개발 환경을 구성하는 종합적인 dotfiles 설정 스크립트. - - -m, --minimal : 더 적은 패키지 및 도구가있는 최소 설치 - -n, --no-sudo : sudo 특권없이 설치 - -h, --help : 표시 도움말 메시지 - XDG 기본 디렉토리 구조 - Git 구성 - 기본 쉘 (리눅스)로 ZSH - Homebrew (macOS) - Rosetta 2 (macOS ARM) - dotfiles 관리에 대한 chezmoi - fuzzy 찾기에 대한 fzf - runtime 버전 관리를위한 mise - 플러그인 관리자와 tmux (전체 설치) - Python 환경 관리를위한 Miniconda (전체 설치) - 개발 도구 및 빌드 필수 - Python pip 및 관련 패키지 - FiraCode Nerd Font (Linux) - 추가 시스템 유틸리티 - macOS 또는 Linux (Debian / Ubuntu 기반) - 인터넷 연결 - Git - 컬 스크립트는 자동으로 운영 체제를 감지하고 적절한 패키지와 구성을 설치합니다.
개요(AI 번역)
MacOS 및 Linux용 도트 파일 및 기계 설정, 관리
이름 * One mise bootstrap 시스템 패키지 설치,
clones 저장소, 링크 dotfiles 및 도구 설치.
설치
최소 설치 (서버)의 경우, --minimal를 전달합니다.
setup.sh:
- macOS, 또는 git 및 컬에 Xcode 명령줄 도구 설치 Debian/Ubuntu, 암호를 한 번 묻습니다.
- mise 설치 (또는 실행
mise self-update] 2026.9.8 이상일 때, 이 저장소를~/.dotfiles에 복제하고, 그 이전의 후크를 활성화합니다. - git 이름과 이메일에 대한 질문 및 저장
~/.config/mise/config.local.toml.DOTFILES_GIT_NAME을 설정하고DOTFILES_GIT_EMAIL프롬프트를 건너뛰기 위해. - 링크
~/.config/mise/config.toml전체 또는 최소 구성에. - Copies 모든 기존 파일에 대해 대체하는 것은
~/.dotfiles-backup- /]. - 실행
mise bootstrap. 그것은 패키지 메타 데이터 (apt-get update]를 새로 고침, sudo 필요) 패키지가 누락 될 때, 그래서 최신 기계 필요 없음 비밀번호
그런 다음 새 쉘을 엽니 다. 전체 설치에서, 실행 ccp bootstrap to fetch the
ccp 소스에서 설치된 클로드 코드 기술; 생성 된 ccp 허브 항목 만
손으로 저장됩니다.
배치
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Dotfiles
Dotfiles and machine setup for macOS and Linux, managed with
mise. One mise bootstrap installs system packages,
clones repositories, links dotfiles and installs tools.
Install
curl -L https://raw.githubusercontent.com/samhvw8/dotfiles/main/setup.sh | bash
For a minimal install (servers), pass --minimal:
curl -L https://raw.githubusercontent.com/samhvw8/dotfiles/main/setup.sh | bash -s -- --minimal
setup.sh:
- Installs the Xcode Command Line Tools on macOS, or git and curl on Debian/Ubuntu, asking for your password once.
- Installs mise (or runs
mise self-updatewhen it is older than 2026.9.8), clones this repository to~/.dotfiles, and enables its pre-commit hook. - Asks for your git name and email and saves them in
~/.config/mise/config.local.toml. SetDOTFILES_GIT_NAMEandDOTFILES_GIT_EMAILto skip the prompt. - Links
~/.config/mise/config.tomlto the full or minimal config. - Copies every existing file it is about to replace into
~/.dotfiles-backup-/. - Runs
mise bootstrap. It refreshes package metadata (apt-get update, which needs sudo) only when a package is missing, so an up-to-date machine needs no password.
Then open a new shell. On a full install, run ccp bootstrap to fetch the
Claude Code skills installed from ccp sources; only the ccp hub items created
by hand are stored here.
Layout
| Path | Purpose |
|---|---|
home/ |
Dotfiles, linked to the same paths under ~ |
mise/config.toml |
Full install: tools, full-only dotfiles, packages, repos and hooks |
mise/minimal.toml |
Minimal install: a smaller tool set and the minimal .zshrc |
mise/conf.d/dotfiles.toml |
Dotfiles, packages, repos and hooks shared by both installs |
mise/scripts/ |
Bootstrap hook scripts |
mise/snippets/ |
Templated blocks managed inside files such as ~/.gitconfig |
setup.sh |
New-machine installer |
migrate-from-chezmoi.sh |
One-time migration for machines still on chezmoi |
.githooks/pre-commit |
Runs dot:check before each commit |
.okf/ |
Knowledge bundle: how and why this setup works (see below) |
~/.config/mise/config.toml links to mise/config.toml or mise/minimal.toml,
which is what makes a machine full or minimal. mise/conf.d/dotfiles.toml is
linked into ~/.config/mise/conf.d/ on both.
How it works
mise bootstrap runs these steps in order. Each one skips work that is already
done, so it is safe to run again at any time:
prepare-host.sh: XDG directories, and Rosetta 2 on macOS.- System packages:
brewandbrew-caskon macOS,apton Linux. mise installsbrewandbrew-caskentries itself; Homebrew is not installed. finish-host.sh: deb-get and zsh as the login shell on Linux.- Repositories:
~/.tmux/plugins/tpmon full installs. - Dotfiles: links and managed blocks.
- Tools from the mise config.
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add samhvw8/dotfiles