This repository uses to configure fresh install of macOS and Lunix. It also use GNU Stow with --dotfiles.
curl -fsSL https://raw.githubusercontent.com/argael/dotfiles/main/scripts/install.sh | bashThe installer auto-detects the OS:
- macOS: runs
scripts/macos/install.sh - Linux: runs
scripts/linux/install.sh
On a fresh macOS login, the installer first ensures Xcode Command Line Tools are installed (required for git).
If macOS opens an installation dialog, complete it, then run the same command again.
You can override with:
DOTFILES_REPODOTFILES_BRANCHDOTFILES_DIR
make git # To install GIT configuration
make stow # To install Configuration files
make restow # To recreate Configuration file linksStow Package selection Packages are auto-detected from package directories under
homefiles/.
Keep app configs tracked, and keep secrets in a local file that is not committed.
For Zed/OpenAI:
- Ensure
homefiles/zed/dot-config/zed/settings.jsonhas noapi_key. - Create
homefiles/zsh/dot-zshrc.local(gitignored) with:
export OPENAI_API_KEY="sk-..."- Re-stow and reload shell:
make stow
source ~/.zshrcThis gives you a stowed ~/.zshrc.local symlink on your machine while keeping secrets out of Git.