help with adb commands boost stylo


hey, can anyone tell me adb commands to install from cache? seem to have lost recovery and unbrick methods have not went well for me. not sure why cause i have used one of the unbrick methods successfully before but not this time. I'm also not sure what happened to my stock recovery it says booting recovery then get secure boot error??? i have the marshmellow update downloaded just never installed. i know i can get adb to push this butv don't know the pathway