Connect your Android device to Mac using a USb cable
Now head over to Search option in mac and Type terminal
Now Type the Following Command in Terminal
After giving the two above commands you will see a list of Adb devices connected to your PC
Now type the following Commands one by one
"Adb reboot bootloader"
This command will boot your device in bootloader
Now again type the following command to unlock bootloader of your device
"/fastboot oem unlock"
Now your device will reboot, However thats all Normal
Go to the settings on your smartphone and again enable usb debugging
Now since your device is ready with all procedure we will start the procedure to Install twrp on android using Mac
Give below command to check if your device is recognized by your Mac or not
Install TWRP Recovery On Realme twrpupdate.com guide