This repository contains the ⚙️ configurations files I use on Linux, macOS, and Windows.
Use this at your own risk and don't expect any support from me if you break your default setup.
Assuming you have already installed the essential build tools on your OS. You will need Ruby, git and make to be present.
git clone https://github.com/scanf/dotfiles ~/src/github.com/scanf/dotfiles
cd ~/src/github.com/scanf/dotfiles
ruby bin/run.rb
For Windows, you have several options:
- Install Git for Windows (includes Git Bash)
- Install Ruby
- Open Git Bash and run:
git clone https://github.com/scanf/dotfiles ~/src/github.com/scanf/dotfiles
cd ~/src/github.com/scanf/dotfiles
make
git clone https://github.com/scanf/dotfiles $env:USERPROFILE\src\github.com\scanf\dotfiles
cd $env:USERPROFILE\src\github.com\scanf\dotfiles
windows\setup-windows.ps1
git clone https://github.com/scanf/dotfiles %USERPROFILE%\src\github.com\scanf\dotfiles
cd %USERPROFILE%\src\github.com\scanf\dotfiles
windows\setup-windows.bat
If you just want the basic configuration without installing Ruby:
git clone https://github.com/scanf/dotfiles %USERPROFILE%\src\github.com\scanf\dotfiles
cd %USERPROFILE%\src\github.com\scanf\dotfiles
windows\setup-manual.bat
📖 See windows/README.md for detailed Windows setup instructions and troubleshooting.
- Git aliases and configuration: Your custom Git shortcuts and settings
- Bash aliases: All your shell aliases work in Git Bash
- Shell functions: Custom functions available in Git Bash
- Development tools: Optional installation via Chocolatey
After setup, your aliases and Git config will work in:
- Git Bash (recommended - full compatibility)
- Windows Subsystem for Linux (WSL)
- PowerShell (limited compatibility)
- Command Prompt (Git commands only)
Enjoy!