How to use PowerShell on a Chromebook

Part of the benefit of having a great Windows laptop is the ability to run Microsoft PowerShell, which is a task-based command-line tool often taken advantage of for system administration and task automation. But did you know that if you own a great Chromebook or even a premium ChromeOS tablet, you can use PowerShell on it too?


Using PowerShell on ChromeOS requires some extra work because it requires Linux to be enabled. But since PowerShell is cross-platform and open source, it still works great on a Chromebook. You can get started in just a few simple steps.

How to install PowerShell on a Chromebook

To install PowerShell on your Chromebook, you’ll need to enable Linux application support. If you haven’t already enabled it, we’ve condensed the steps below into steps 1-6. You’ll also need to download the installer file for the Linux version of PowerShell from Microsoft’s GitHub for the latest Linux version. It will be listed as a DEB file. Also note that if you install PowerShell on a Chromebook, you won’t get support for Windows-based commands.

  1. Open the Chrome OS Settings app by tapping on the time, then selecting settings icon.
  2. He chooses advanced in the sidebar.
  3. He chooses developers.
  4. He chooses Linux development environment and click His job.
  5. Follow the steps on your screen and choose a username and size for your Linux environment.

  6. When done, you will see a terminal window. close it.
  7. go to PowerShell installation web page.
  8. Mouse over Ubuntu 22.04.2019 in the list, and click to download the DEB file listed below stable.
    PowerShell installation page

  9. open the ChromeOS Files app.
  10. go to downloads.
  11. Double-click to run the PowerShell installation file you downloaded.
  12. In the popup that appears, choose the color blue install button.
    Install the PowerShell prompt on ChromeOS

  13. You will see a file Linux installer prompt at the bottom of the screen. It will alert you when the installation is complete.
  14. Open the Linux terminal by searching for lounge In ChromeOS launcher and check penguin.
  15. unacceptable pwsh Then press Enter on your keyboard to launch PowerShell.
    PowerShell works in ChromeOS

You can now type PowerShell commands! There isn’t much to PowerShell on ChromeOS, as it doesn’t replace any existing terminal apps like Penguin. If you prefer, you can set it as the default terminal using the code below.

sudo chsh -s /usr/bin/pwsh $USER

However, keep in mind that if you go this route, unlike Windows, updating PowerShell requires some extra effort. You will have to go through this process again every time a new version is released and download it manually. There is no way to update it automatically.

If you run into issues with PowerShell itself, you can remove the app using the command below.

 sudo apt remove powershell 

That’s it! This is how to install PowerShell on a Chromebook. We also have guides for running Android apps on a Chromebook and editing photos on a Chromebook if you want to unlock more functionality on your Chromebook.

(Visited 23 times, 1 visits today)

Related posts