Skip to content

nchapon/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

1 Dotfiles

My personal dotfiles when I setip a new environnement (Ubuntu)

Tested on :

  • Ubuntu 20 LTS
  • Ubuntu 22 LTS

1.1 Pre Installl

At first install Git

sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install -y git-all git-extras

1.2 Installation

1.2.1 Clone git repository

git clone https://github.com/nchapon/dotfiles.git dotfiles

1.2.2 Install essentials

cd dotfiles
./ubuntu-setup.sh 

1.2.3 Install OhMyZsh

See instructions here : https://ohmyz.sh/#install

1.2.4 Link my configuration files

cd ~/dotfiles
stow git
stow emacs
stow zsh

1.3 Post Install

1.3.1 Asdf

I try to install all my tools with Asdf

1.3.2 Java

asdf plugin-add java
asdf plugin-add maven

1.3.3 Clojure

asdf plugin-add clojure
asdf plugin-add leiningen

I now almost exclusively use deps.edn to build my projects with Clojure CLI. My configuration comes from https://github.com/practicalli/clojure-deps-edn

git clone git@github.com:practicalli/clojure-deps-edn.git $XDG_CONFIG_HOME/clojure

1.3.3.1 Babashka

  asdf plugin add babaska latest
asdf install babashka latest

1.3.4 Docker

Docker is installed from this script :

https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script

1.3.5 Kubernetes

1.3.5.1 Kind

I use Kind when I need to run Kubernetes locally

asdf plugin-add kind
asdf install king 0.14.0

1.3.5.2 Kubectl

asdf plugin-add kubectl
asdf install kubectl 1.24.0