SD

samhvw8/dotfiles

Data science & ML

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

15 stars 품질 52 트렌드 29

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:

  1. macOS, 또는 git 및 컬에 Xcode 명령줄 도구 설치 Debian/Ubuntu, 암호를 한 번 묻습니다.
  2. mise 설치 (또는 실행 mise self-update] 2026.9.8 이상일 때, 이 저장소를 ~/.dotfiles에 복제하고, 그 이전의 후크를 활성화합니다.
  3. git 이름과 이메일에 대한 질문 및 저장 ~/.config/mise/config.local.toml. DOTFILES_GIT_NAME을 설정하고 DOTFILES_GIT_EMAIL 프롬프트를 건너뛰기 위해.
  4. 링크 ~/.config/mise/config.toml 전체 또는 최소 구성에.
  5. Copies 모든 기존 파일에 대해 대체하는 것은 ~/.dotfiles-backup- /].
  6. 실행 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:

  1. Installs the Xcode Command Line Tools on macOS, or git and curl on Debian/Ubuntu, asking for your password once.
  2. Installs mise (or runs mise self-update when it is older than 2026.9.8), clones this repository to ~/.dotfiles, and enables its pre-commit hook.
  3. Asks for your git name and email and saves them in ~/.config/mise/config.local.toml. Set DOTFILES_GIT_NAME and DOTFILES_GIT_EMAIL to skip the prompt.
  4. Links ~/.config/mise/config.toml to the full or minimal config.
  5. Copies every existing file it is about to replace into ~/.dotfiles-backup-/.
  6. 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:

  1. prepare-host.sh: XDG directories, and Rosetta 2 on macOS.
  2. System packages: brew and brew-cask on macOS, apt on Linux. mise installs brew and brew-cask entries itself; Homebrew is not installed.
  3. finish-host.sh: deb-get and zsh as the login shell on Linux.
  4. Repositories: ~/.tmux/plugins/tpm on full installs.
  5. Dotfiles: links and managed blocks.
  6. Tools from the mise config.
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add samhvw8/dotfiles
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →