Fedora 40: new box setup
dnf
sudo dnf updatesudo systemctl daemon-reload
Google Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpmsudo dnf install ./google-chrome-stable_current_x86_64.rpm
Visual Studio Code
sudo dnf install ./google-chrome-stable_current_x86_64.rpmsudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'dnf check-updatesudo dnf install code
Docker
sudo dnf -y install dnf-plugins-coresudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.reposudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo systemctl enable docker.servicesudo systemctl enable containerd.service
sudo dnf install docker-compose
Managing Docker as non-root
sudo groupadd dockersudo usermod -aG docker $USER
Configure shell to zsh
zsh --versionchsh -s $(which zsh)# sudo lchsh $USER /usr/bin/zsh
oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10kecho 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
p10k configure
Syntax highlightning and Autocompletions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlightinggit clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Add to .zshrc:
plugins=(... zsh-syntax-highlighting zsh-autosuggestions)
Node.js
sudo dnf install nodejs
Installing global modules
mkdir ~/.npm-globalnpm config set prefix '~/.npm-global'
Include on .zshrc or equivalent:
export PATH=~/.npm-global/bin:$PATH
Update system variables:
source ~/.zshrc
Neovim
sudo dnf install neovim