How to install PowerShell on linux
Powershell is THE system language of microsoft. If you are IT worker, you SHOUD know this language. It is a good investment to learn it. You have so many languages to know but this one should be mandatory because one day you will need it.
Now as a linux user, I wanted to continuer my learning with my favorite opérating system. Linux have BASH scripting language by default and powershell is a microsoft language.
But as you notices Microsoft is not the evil company as it used to be. You can have Windows Subsystem for linux (WSL) on your windows system.
Then now how to install it ? Just type this line of command.
sudo snap install powershell --classic
Now how to use it ?
pwsh
if you want to go out and return on the default command :
exit