How to install Microsoft PowerShell on a Chromebook
PowerShell is an immensely popular and powerful tool that comes built into Windows 10 with applications beyond enterprise, development, automation, then much more. But PowerShell is also cross-platform and open-source, with versions available for Mac OS and Linux, too.
But what almost if you're using a Chromebook, either personally or professionally? Well, and so long as it's a recent car with back up for Linux apps, you tin can install and use Microsoft PowerShell.
Hither'southward what you need to know.
Making sure Linux is enabled on your Chromebook
What makes the magic happen is the Crostini Linux container on Chrome OS, which will allow yous to install the Linux version of Visual Studio Code on your Chromebook.
If you lot don't already have that enabled, it's really straightforward.
- Open Settings.
- Locate Linux (Beta) in the sidebar.
-
Click Turn on.
-
At the next window, click Side by side.
- Requite your Linux install a username.
-
Decide how much space you want to dedicate from your internal storage to it.
-
Click Install.
The Linux container will at present brainstorm to download and install itself on your Chromebook. You'll know information technology's finished when a terminal window pops up, and then you can move on to the next step.
Downloading and installing PowerShell on a Chromebook
While PowerShell on Linux isn't exactly the same every bit on Windows — modules and commands specific to Windows are naturally unavailable — information technology'south available for folks who need it. Once Linux is gear up on your Chromebook, we can become most installing PowerShell.
We'll be installing PowerShell 7 here, and the procedure is actually straightforward.
- Go to the PowerShell release folio.
- Download the .deb installer for Debian 10.
- Locate the downloaded file, by default, it will be in your downloads folder.
- Right-click and select Install with Linux (beta).
- Click install.
A fairly brusque installation process will now occur, and y'all'll receive a notification when it's all washed.
The big difference between PowerShell and other most other Linux apps installed on a Chromebook is that in that location won't be an app icon announced in the Linux Apps folder in your app drawer.
How to launch PowerShell within the last
PowerShell is an entirely concluding-based application, and on a Chromebook, information technology operates inside the Linux terminal.
Open the Linux terminal either by searching for it or just heading to your Linux apps folder and when the virtual machine has done its startup, enter this simple command.
pwsh
You'll now meet a short scrap of blurb beginning with the PowerShell version, and your control line will change from yourusername@penguin to PS /home/yourusername.
Yous're now all fix to use PowerShell on your Chromebook. Whatever fourth dimension yous desire to use information technology, simply enter the control to launch it and exit out when y'all're done by typing exit.
Just if you're going to apply information technology a lot, you might want to ready it as the default shell for your Chromebook'southward Linux terminal.
Setting PowerShell equally the default terminal vanquish
PowerShell's bonus is that it doesn't overwrite your existing shell; any Linux commands you could normally enter in the bash beat out can too be entered in PowerShell. Equally such, if you're going to use PowerShell a lot, you can set it equally your default shell and not worry about losing any functionality.
To exercise this, simply fire up the last and enter this code.
sudo chsh -s /usr/bin/pwsh $USER
Reboot the concluding, and you'll now be taken straight into PowerShell and no longer run across the regular yourusername@penguin.
And that's all yous need to exercise to get up and running with Microsoft PowerShell on your Chromebook. Whether y'all're only looking to poke around and learn some of the basics or yous need to use it for work or development purposes, the Linux version of PowerShell works bang-up on a Chromebook.
Updating PowerShell on your Chromebook
If you need to update PowerShell, either to newer stable releases or to a preview build, the procedure should exist straightforward. In the first case, you lot should exist able to follow the steps higher up to download the installer for the newer build and simply install it over the acme.
If that doesn't work for any reason you may demand to uninstall the existing PowerShell first by inbound:
sudo apt remove powershell
If you're withal having issues and so the merely option (spoken from experience) could well be to completely remove Linux from your Chromebook and showtime from scratch. If you lot've been poking around and making changes for some time y'all may well take dislodged something that affects PowerShell and this volition near certainly resolve whatever issues.
Super calorie-free and sparse
Updated Samsung Galaxy Book2 Pro laptops with Intel 12th Gen send April 1
Samsung is going deep into Windows 11 PCs with four new laptops announced today at Mobile World Congress. The laptops all ship with Intel 12th Gen processors, thin designs, and back up for Samsung S Pen, along with a bevy of new features and improvements. They brainstorm aircraft in April.
Tech warfare
Intel, AMD reportedly stopped exports of CPUs to Russia due to invasion
A new report from RBC claims Intel and AMD are set to comply with new sanctions imposed by the United states on sales and exports of specific technologies to Russia in response to its invasion. TSMC, who also makes some of Russia'due south own chips, is likewise said to be complying. The news, if accurate, could severely injure Russian federation'south economy every bit companies would non be able to add, replace, or...
Source: https://www.windowscentral.com/how-install-microsoft-powershell-chromebook
Posted by: roddeneaddelartion.blogspot.com
0 Response to "How to install Microsoft PowerShell on a Chromebook"
Post a Comment