
Install PowerShell on an ARM Chromebook
Although no official guidance or repositories are provided, it is easy to install PowerShell on ARM Mediatek and Snapdragon Chromebooks.
Assuming you have the Linux container installed (via Developer Options in Settings) then the ARM build of PowerShell can be installed following a similar method to installing PowerShell on a Raspberry Pi:
First, browse the PowerShell github repository and note the version number of newest Arm64 tarball. At the time of writing it is:
powershell-7.4.1-linux-arm64.tar.gz
In a 'penguin' terminal, download the file identified above to a temporary location:
wget -O /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-arm64.tar.gz
Switch to root, untar the tarball to an appropriate location, make it executable and create a symbolic link:
sudo su
mkdir -p /opt/microsoft/powershell/7
tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7
chmod +x /opt/microsoft/powershell/7/pwsh
ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
Remove the temporary file
rm /tmp/powershell.tar.gz
Use
To invoke, type pwsh
in a penguin terminal.
PowerShell can also be natively invoked via the PowerShell extension of VSCode if installed via this method.