Download YouTube Vanced APK older versions for Non-Rooted, Rooted and Magisk Root Android Devices from below links.
Download YouTube Vanced for the Non-Rooted devices. You will have to install additional MicroG package in order to be able login.
YouTube Vanced for the rooted devices, download further files and flash via custom recovery like TWRP to install the app.
This version designed to work with Magisk rooted devices. Download and install YouTube Vanced Magisk Module via Magisk repo.