arch mac : Initial setting #2 install cli


Minimum settings when using arch linux with cli (Common Language Infrastructure)

After completing the process of [arch mac: Initial setting # 1(, execute the following contents

wi-fi network connection

If you are not connected to the network, execute the following

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 48:2a:48:2f:80:bc brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DORMANT group default qlen 1000
    link/ether 10:2f:80:48:2f:bc brd ff:ff:ff:ff:ff:ff

ip link set wlp3s0 up

Turn on the driver that says wlp

systemctl enable NetworkManager

networkmanager を enable


Location where it was created

Network settings

systemctl start NetworkManager

Networkmanager を start

nmcli dev wifi connect wifi-network-name password this-networkname-pass


wifi-name : Bu1145-14SE-19ac
pass : f4fvac34

nmcli dev wifi connect Bu1145-14SE-19ac password f4fvac34

ping -c2

Check if communication is possible

Change Fn key Function key

echo 2 > /sys/module/hid_apple/parameters/fnmode

echo options hid_apple fnmode=2 > /etc/modprobe.d/hid_apple.conf

macbook keyboard backlight

su username


git clone

cd kbdlight

makepkg -si

kbdlight operation method

kbdlight up

Increase the amount of light from the keyboard backlight

kbdlight down

Lower the amount of light from the keyboard backlight

light-git setting light intensity backlight


git clone

cd light-git

makepkg -si

light -S 12

screen light by 12%

light -U 10

Reduce screen light by 10%

light -A 7

Increase screen light by 7%

yay install

yay cheat sheets

Unofficial tool to support the installation of stray software


git clone

cd yay

makepkg -si

Home directory automount settings


mkdir q

sudo chmod -R 770 q

Root + general user only read / write permission to q

lsblk --fs

├─sda1 vfat   FAT32       A411-F7A8                             255.1M    15% /boot
├─sda2 swap   1           ????????-????-????-????-????????????                [SWAP]
├─sda3 ext4   1.0         ????????-????-????-????-????????????      8G    53% /
└─sda4 ext4   1.0         4f11f84f-ff46-19fa-ff46-2ca2f1f95f9f  177.6G    55% /home/username/c

sudo micro /etc/fstab

# /dev/sda4
UUID=4f11f84f-ff46-19fa-ff46-2ca2f1f95f9f   /home/username/q  ext4        defaults    0 0

Add the above UUID is your own sda4 UUID

sudo chown -R username:root q

username is a general user created by yourself

sudo chmod -R 770 q

Only root + general users can change to q

micro-bin install (optional)

Install the latest terminal editor that is easy to use even for those who are new to terminal editors

sudo yay -S micro-bin


fish shell

pacman -S fish

su username


echo exec fish >> .bashrc

Backup (Optional)

Arch linux backup

thank you

Thank you for watching until the end. I'm glad if you can use it as a reference.

Thank you for Helping

I'll buy an amazon gift and help you

We will continue to update useful information. I am delighted to jump to your help. Thank you very much.