Skip to content

Install Guide

  1. Clone the repository to ~/.dotfiles:

    git clone https://github.com/sagojez/.dotfiles.git ~/.dotfiles
  2. Install necessary packages:

    sudo apt-get install -y build-essential git curl file stow blueman acpi libusb-1.0-0 libusb-1.0-0-dev shutter
  3. Install homebrew:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  4. Install zsh:

    sudo apt install zsh && chsh -s $(which zsh)
  5. Install oh my zsh:

    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  6. Install FiraCode Nerd Font

  7. Install Brewfile:

    cd ~/.dotfiles/brew && brew bundle
  8. Install fast-syntax-highlighting:

    git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git \
    ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
  9. Install zsh-autosuggestions:

    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  10. Install git-open:

    git clone https://github.com/paulirish/git-open.git $ZSH_CUSTOM/plugins/git-open
  11. Install ruby:

    sudo apt install ruby-full
  12. Install colorls:

    sudo gem install colorls
  13. Install i3:

    sudo apt install i3 picom polybar feh pavucontrol rofi
    /usr/lib/apt/apt-helper download-file https://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2024.03.04_all.deb keyring.deb SHA256:f9bb4340b5ce0ded29b7e014ee9ce788006e9bbfe31e96c09b2118ab91fca734
    sudo apt install ./keyring.deb
    echo "deb http://debian.sur5r.net/i3/ $(grep '^DISTRIB_CODENAME=' /etc/lsb-release | cut -f2 -d=) universe" | sudo tee /etc/apt/sources.list.d/sur5r-i3.list
    sudo apt update
    rm keyring.deb
    sudo apt upgrade
  14. Install jabba:

    curl -sL https://github.com/Jabba-Team/jabba/raw/main/install.sh | bash && . ~/.jabba/jabba.sh
    jabba install openjdk@1.17-0
    jabba alias default openjdk@1.17.0
  15. Setup coursier:

    coursier setup
    brew uninstall --ignore-dependencies java
  16. Install kitty:

    curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
    sudo ln -sf ~/.local/kitty.app/bin/kitty ~/.local/kitty.app/bin/kitten /usr/local/sbin/
    cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications/
    cp ~/.local/kitty.app/share/applications/kitty-open.desktop ~/.local/share/applications/
    sed -i "s|Icon=kitty|Icon=/home/$USER/.local/kitty.app/share/icons/hicolor/256x256/apps/kitty.png|g" ~/.local/share/applications/kitty*.desktop
    sed -i "s|Exec=kitty|Exec=/home/$USER/.local/kitty.app/bin/kitty|g" ~/.local/share/applications/kitty*.desktop
  17. Install cargo:

    curl https://sh.rustup.rs -sSf | sh
  18. Create directories:

    mkdir ~/Go/ && mkdir ~/Work/ && mkdir ~/Learn/
  19. Install atuin:

    curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
  20. Stow folders:

    cd ~/.dotfiles && stow nvim && stow zsh && stow k9s && stow kitty && stow i3 && stow atuin
  21. Install applications [Linux]: