Congrats on the new bike. To start, I think you should have at least the tools necessary to work on the bike. You can probably get most of the basics done with a multi-tool which you should have with you while riding anyway. But if you really are going to do some of the things you mention, you will eventually need additional tools. There are numerous bike tool kits available that have a variety of tools that will be needed if you want want to jump in that way. Others have noted places that provide basic bike maintenance classes. REI did as well, but classes have been cancelled due to the COVID situation. It seems many of the classes dealt with basic maintenance, flat tire repair, etc. Some got more in depth.
You can probably break down the learning into assembly and basic adjustments, then maintenance and later parts replacement.
I am guessing that the bike will come mostly assembled but you will need to assemble the cockpit, wheels and pedals. There are plenty of videos online that you can watch like this one:
You'll then need to make cockpit adjustments, possibly adjust brake alignment and maybe shifting if they didn't get that perfect. Each can be found online as well. I want to mention that proper torque is important. You don't want to have something coming loose while your riding or break if over tightened. This is especially true if you have any carbon bits like handlebar or seatpost.
It's a progression so read, watch some videos and check back here for help. Things like indexing a derailleur and brake bleeds can be challenging for someone new to bike maintenance, but can be done.