Artix Linux Post-Installation
Upgrade system and reboot.
Edit pacman.conf
file, uncomment Color
and set ParallelDownloads = 8
.
sudo nano /etc/pacman.conf
Edit makepkg.conf
file, uncomment and set MAKEFLAGS="-j8"
. You can change -j8
to the number of CPU threads you have, in my case is 8.
sudo nano /etc/makepkg.conf
Install base-devel
from AUR for building AUR packages.
sudo pacman -S base-devel
Setup the Universe repo for more precompiled AUR packages.
Install artix-archlinux-support
for Arch packages.
sudo pacman -S artix-archlinux-support
Setup Chaotic-AUR for additional precompiled AUR packages.
Install pacman-contrib
for ranking pacman mirrors.
sudo pacman -S pacman-contrib
Generate a fresh mirrorlist on the official Mirrorlist Generator .
Rank Artix Linux mirrors. Edit the mirrorlist
file and put the resulting lines on top.
# Backup the existing mirrorlist
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
# Rank the mirrors
rankmirrors -v -n 10 /etc/pacman.d/mirrorlist
Install paru (AUR helper).
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
Install essential fonts from AUR: CJK fonts, Noto emoji.
Install nerd fonts from AUR: JetBrains Mono, Fira Code, Hack, Cascadia Code, Mononoki, etc.
Install and setup proprietary packages from AUR: Microsoft Edge, VS Code, Spotify, Discord, etc.
Install zsh and set as default shell.
# Install zsh via pacman:
sudo pacman -S zsh
# Change the default shell:
chsh -s $( which zsh)
Install Zinit (zsh framework).
# The easiest way to install Zinit is to execute:
bash -c " $( curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh) "
# After installing and reloading the shell, compile Zinit via .zshrc file:
zinit self-update
Install pure prompt.
# Update your .zshrc file with the following two lines:
zinit ice compile' (pure|async).zsh' pick' async.zsh' src' pure.zsh'
zinit light sindresorhus/pure
Install some essential zsh plugins. Add the following lines to .zshrc
file.
# Plugin history-search-multi-word loaded with investigating
zinit load zdharma-continuum/history-search-multi-word
# Snippet
zinit snippet https://gist.githubusercontent.com/hightemp/5071909/raw/
# Turbo mode
zinit wait lucid for \
atinit" ZINIT[COMPINIT_OPTS]=-C; zicompinit; zicdreplay" \
zdharma-continuum/fast-syntax-highlighting \
blockf \
clarketm/zsh-completions \
atload" !_zsh_autosuggest_start" \
zsh-users/zsh-autosuggestions
And that’s it, you’re done!