The objective of this article is to install Microsoft PowerShell on Ubuntu 20.04 Focal Fossa Linux. PowerShell is a task automation and configuration management framework, which includes the PowerShell scripting language.
In this tutorial you will learn:
- How to PowerShell
- How to start PowerShell
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|System||Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa|
|Other||Privileged access to your Linux system as root or via the
# – requires given linux commands to be executed with root privileges either directly as a root user or by use of
$ – requires given linux commands to be executed as a regular non-privileged user
How to install PowerShell on Ubuntu 20.04 step by step instructions
- Access your terminal and execute the following command:
$ snap install powershell --classic
- Start power shell from the terminal by running the
$ pwsh PowerShell 6.2.3 Copyright (c) Microsoft Corporation. All rights reserved. https://aka.ms/pscore6-docs Type 'help' to get help.