This is my dotfiles configuration files.
git clone https://github.com/klaasnicolaas/dotfiles.git
cd dotfiles && bash install.sh
The following platforms are installed and set up by default with the bash script:
After installation, there are still a few things I always do manually.
This is the case for:
The use of pyenv is recommended to manage multiple python versions, with the grep
command we can narrow down the list with newer versions.
pyenv install --list | grep -E "^\s*3\.(11|12|13)(\..*|-dev.*)"
pyenv install 3.12.2
pyenv global 3.12.2
git config --global user.name "Klaas Schoute"
git config --global user.email "[email protected]"
Version 20 is currently the LTS version.
nvm install 20
nvm use 20
nvm alias default 20
Note: This can only after installing python.
bash components/poetry.sh
Instal PHP 8.2 and all the extensions:
# π install software-properties-common
sudo apt -y install software-properties-common
# π use add-apt-repository command to install the PPA
sudo add-apt-repository ppa:ondrej/php
# π refresh the package manager
sudo apt-get update
# π install latest PHP version
sudo apt -y install php8.2
# π install all the extensions
sudo apt install php8.2-{bcmath,xml,xmlrpc,fpm,mysql,zip,intl,ldap,gd,cli,bz2,curl,common,mbstring,pgsql,opcache,soap,cgi,imagick,readline,sqlite3}
To remove the old packages:
sudo apt-get purge 'php8.1*'
To switch between PHP versions:
sudo update-alternatives --config php
https://realpython.com/intro-to-pyenv/
https://docs.docker.com/engine/install/ubuntu/