Important
Currently, only MacOS and Debian-based systems like Ubuntu are supported. Arch support is pending further testing."
You can run the setup-dotfiles script to setup the dotfiles Interactively.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/egemenkopuz/dotfiles/master/scripts/setup-dotfiles.sh)"
Important
You need to have git
and ansible
installed on your system.
The following command clones the repository into .config in home directory.
git clone --depth 1 --recursive https://github.com/egemenkopuz/dotfiles.git ${HOME}/.config
cd ${HOME}/.config
You can run the following command to use ansible to install the necessary packages.
ansible-playbook -K setup.ansible.yml
If you would like to use with a docker container, you can run the following commands.
docker build -t "dev-env:latest" .
docker run --name dev-env -d -it dev-env
docker exec -it dev-env zsh
Note
If the system has already installed a package and its version matches the default version, the setup script will skip the installation of that package.
Below is the full list of packages that are installed by the setup script together with their default versions and installation methods.
Package | Default Config Version | Debian Supp. | Arch Supp. | MacOS Supp. | amd64 Supp. | arm64 Supp. |
---|---|---|---|---|---|---|
ansible | latest |
via apt |
via pacman |
via brew |
✔️ | ✔️ |
python | latest |
via apt |
wip |
via brew |
✔️ | ✔️ |
nodejs | latest |
binary |
wip |
binary |
✔️ | ✔️ |
zsh | latest |
via apt |
wip |
built-in |
✔️ | ✔️ |
tmux | latest |
via apt |
wip |
via brew |
✔️ | ✔️ |
neovim | stable |
binary or compile source |
wip |
binary or compile source |
✔️ | ✔️ |
fastfetch | latest |
binary or compile source |
wip |
binary |
✔️ | ✔️ |
ripgrep | latest |
binary |
wip |
binary |
✔️ | ✔️ |
fzf | latest |
binary |
wip |
binary |
✔️ | ✔️ |
fd | latest |
binary |
wip |
binary |
✔️ | ✔️ |
bat | latest |
binary |
wip |
via brew |
✔️ | ✔️ |
eza | latest |
binary |
wip |
via brew |
✔️ | ✔️ |
lazygit | latest |
binary |
wip |
binary |
✔️ | ✔️ |
procs | latest |
binary |
wip |
❌ | ✔️ | ❌ |
delta | latest |
binary |
wip |
binary |
✔️ | ✔️ |
btop | latest |
binary |
wip |
❌ | ✔️ | ❌ |
zoxide | latest |
binary |
wip |
binary |
✔️ | ✔️ |
lf | latest |
binary |
wip |
binary |
✔️ | ✔️ |