TP-Link Nano AC600 USB Wi-Fi Adapter(Archer T2U Nano)- 2.4G/5G Dual Band Wireless Network Adapter

I’m new to linux, so could you guide me to install driver and able to run my wifi adapter.

Building module:
Cleaning build area...
'make' -j4 KVER=6.1.51-1-MANJARO KSRC=/lib/modules/6.1.51-1-MANJARO/build.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.51-1-MANJARO (x86_64)
Error while configuring rtl8822bu-dkms
Consult /var/lib/dkms/rtl8822bu/5.8.7.4/build/make.log for more information.
Error: rtl8822bu-dkms: command failed to execute correctly
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                                                                                                                                         [1/3]
Install DKMS modules                                                                                                                                                                                                                   [2/3]
==> dkms install --no-depmod rtl8822bu/5.8.7.4 -k 6.1.51-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.1.51-1-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8822bu/5.8.7.4/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822bu/5.8.7.4 -k 6.1.51-1-MANJARO' exited 10
Refreshing PackageKit...                                                                                                                                                                                                               [3/3]
Transaction successfully finished.
    /lib/modules/6.1.51-1-MANJARO/kernel/drivers/net/wireless 

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text