Learn hardware. I mean start with the Intel 8086 and learn how it works. Learn a bit of assembly. Learn C and make it your best friend.
Then learn the tools of your target domain.
I believe this makes better programmers than any amount of toolchain knowledge without it. I did it backwards. If I could go back, I’d do it in order and save myself a lot of bad code.