cat /sys/firmware/efi/fw_platform_size to check BIOS vs. EUFI boot.zgrep CONFIG_EFI /proc/config.gzls -l /sys/firmware/efi/efivarsefivars -lgrep -m1 vendor_id /proc/cpuinfo to see which microcode package to install later on.pacman --noconfirm -S reflectorreflector --country US --protocol https --latest 20 --sort rate --save /etc/pacman.d/mirrorlistpacman --noconfirm -S partedtimedatectl to ensure system clock is synchronizedmkfs.fat -F 32 /dev/sdx1mkfs.ext4 -L LBL /dev/sdx8/mnt and if you have a separate boot partition or efi partition
mkdir /mnt/boot && mount /dev/sdx1 /mnt/bootmkdir -p /mnt/boot/efi && mount -t vfat /dev/sdx1 /mnt/boot/efipacstrap fails with GPG errors, then update keyring: pacman-key --refresh-keyspacstrap -K /mnt ... with following packages
genfstab -L /mnt >> /mnt/etc/fstab Leverage e2label.arch-chroot /mntln -sf /usr/share/zoneinfo/US/Eastern /etc/localtimehwclock --systohcvim /etc/locale.gen. Uncomment these 3: en_US.UTF-8, de_AT.UTF-8, pl_PL.UTF-8locale-genlocalectl set-locale en_US.UTF-8 # Verify that adds LANG=that to /etc/locale.confecho newname > /etc/hostnamepasswdsystemctl enable NetworkManagersystemctl mask tmp.mountgrub-install --target=i386-pc --recheck /dev/sdx8 FOR BIOSgrub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB FOR UEFIgrub-mkconfig -o /boot/grub/grub.cfgBolded keywords represent user-specific values.
N.b. due to markdown limitation I had to doublequote command examples containing bold.
EDITOR=vim visudo Enable the wheel NOPASSWD line.groupadd -g **userint** **username**mkdir -p tmp/aur.d && cd tmp/aur.dgit clone https://aur.archlinux.org/yay.gitcd yay && makepg -noconfirm -sircpacman -Sy --needed plasma sddm kde-applications/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland to test Xsddmsudo systemctl enable sddmyay to install KDE apps like konsole. Donât install flatpak./etc/skel/ if you have a good source.[Basic Settings] Indexing-Enabled=falseyay --noconfirm -S... with following packages
npm and node per-user. As a userâŚ
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bashnvm install --ltsnpm -g in @mermaid-js/mermaid-cli~/.local/bin/. It attempts to add this dir to $PATH but usually fails.curl -fsSL https://claude.ai/install.sh | bash