How to Install PowerShell on Ubuntu and Getting Started
In addition to a tip on how to proceed with any other Linux distribution.
PowerShell is a task-based command-line shell and scripting language developed in .NET. Initially just a Windows component.
Run the commands below in that sequence:
Using PowerShell directly from the terminal:
To exit press:
Creating a basic script
Let’s run a Hello, World!.
Create the file and insert the content into it:
Give execution permission and run:
For other distros see the here procedure.