Install Microsoft PowerShell on Nintendo Switch
PowerShell is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework that works well with your existing tools and is optimized for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and object models. It includes a command-line shell, an associated scripting language and a framework for processing cmdlets.
To run: Menu -> Accessories -> Microsoft PowerShell
In terminal: pwsh
Fortunately, Microsoft PowerShell is very easy to install on your Nintendo Switch in just two steps.
- Install Pi-Apps - the best app installer for Nintendo Switch.
- Use Pi-Apps to install Microsoft PowerShell.
For the best chance of this working, we recommend using the latest version of Switchroot L4T Ubuntu Jammy, which is currently version 5.1.2 Ubuntu Jammy.
Microsoft PowerShell will run on L4T Ubuntu ARM64.
Pi-Apps is a free tool that makes it incredibly easy to install the most useful programs on your Nintendo Switch with just a few clicks.
Open a terminal and run this command to install Pi-Apps:
wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash
Feel free to check out the Pi-Apps source code here: https://github.com/Botspot/pi-apps
Install Microsoft PowerShell
Now that you have Pi-Apps installed, it is time to install Microsoft PowerShell.
First launch Pi-Apps from your start menu:
Then click on the Terminals category.
Now scroll down to find Microsoft PowerShell in the list.
Just click Install and Pi-Apps will install Microsoft PowerShell for you!