No, you don't have to be a jerk to get things accomplished. Actually, being a jerk in a leadership role has the exact opposite long-term effect on your team's morale -- they will only work the absolute requested minimum and start looking for other opportunities elsewhere. And with external peers, things get worse even quicker -- why the heck would ANYBODY in their right mind want to interact and do business with a jerk?
I worked in several companies during the last 12 years and had all sort of bosses.
The best I had was like a friend to me, I remember he took me out to lunch after he interviewed me for the job, he already decided he wanted me for the job and just wanted to spend some time to get me know better as a person, not as a future employee. He always praised me for the good job, told me I was better than him when he was my age etc. He eventually quit the company, so did I a few months later.
I never met another boss like him while I met jerks, kind people who didn't have a clue about technology and very talented people who didn't know how to manage a team.
What I found out is jerks are bad for the team in the long run.
I remember a quote, I don't know if it was from Job himself, but it goes like "we don't hire smart people to tell them what to do, but so they can tell US what need to be done". As a boss you have to set priorities, manage your team and make decisions but you always have to listen to your employees, be open to suggestions and treat everyone fairly and kindly. Shouting at people, discard their ideas and stop caring about them as human beings isn't good for the company, the best people will eventually quit. I guess having a bad boss, or one you don't get along with, is the primary reason why people quit their job. The company culture is important, but sometimes you have very different feedbacks from people working at the same company only because they are in different teams so have different managers.