Important
Currently, only Debian based systems (ex: Ubuntu) are supported. Arch and MacOS are not fully tested, and thus not supported. Support for these systems will be added soon.
You can run the setup-dotfiles script to setup the dotfiles Interactively.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/egemenkopuz/dotfiles/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 |
❌ | ❌ | ✔️ | ✔️ |
python | latest |
via apt |
❌ | ❌ | ✔️ | ✔️ |
nodejs | latest |
via apt |
❌ | ❌ | ✔️ | ✔️ |
zsh | latest |
via apt |
❌ | ❌ | ✔️ | ✔️ |
tmux | latest |
via apt |
❌ | ❌ | ✔️ | ✔️ |
neovim | stable |
binary or compile source |
❌ | ❌ | ✔️ | ✔️ |
fastfetch | latest |
binary or compile source |
❌ | ❌ | ✔️ | ✔️ |
ripgrep | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
fzf | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
fd | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
bat | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
eza | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
lazygit | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
procs | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
delta | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
btop | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
zoxide | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |
lf | latest |
binary |
❌ | ❌ | ✔️ | ✔️ |