Powershell or even typescript are better suit for deploying stuff but for some reason the industry sticks to bash and python spaghetti.
> some reason
Probably because except in specific niche industries, every Linux box you ever experience is extremely likely to have Bash and Python installed.
Also, because Powershell is hideously verbose and obnoxious, and JS and its ilk belong on a frontend, not running servers.