According to some movies you have watched and an article you once read, the best leadership is from the military. The stakes are high there: you have to tell people to run into dangerous territory, and they have to obey you. Sports also feature yelling, great coaches are stereotypically furious, and sports are viewed as the highest level of performance.
That feels like your software company, where you make accounting software to capture value for your stakeholders, so you should do the things from the movies you liked to get things done. Yelling makes you feel powerful. You responded to yelling when you were young and have seen it work - if you could get in touch with your brother, he’d tell you - so use that lesson as an adult.
Plus, it is fun sometimes if you are the yelling person.
Insulting seems also to work. Sure, some people leave or report you to HR. If this happens, yell and insult HR and see what happens. Just keep yelling and insulting; you will be shocked at how much you can do this. Eventually, the people that are left seem to enjoy it, and they do their best work (not as good as your work) when you treat them this way. Thinking up new insults is also a great way to stay sharp mentally. And that feeling where people are a little afraid of you makes you feel powerful. Well, as powerful as a middle manager at a software company that won’t exist in ten years can feel.
Another advantage to yelling is that you will find that the team makes fewer mistakes this way. At least, you find out about fewer mistakes. Hardly any mistakes come to your attention; if they do, somebody is usually assigned to blame already, so it is an efficient process. As a boss, never hearing about bad news is refreshing, at least briefly.