# Install powershell using cmd command line
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"
winget install PowerShell
for Ubuntu
# Update the list of packages
sudo apt-get update
# Install pre-requisite packages.
sudo apt-get install -y wget apt-transport-https software-properties-common
# Download the Microsoft repository GPG keys
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
# Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
# Update the list of packages after we added packages.microsoft.com
sudo apt-get update
# Install PowerShell
sudo apt-get install -y powershell
# Start PowerShell
pwsh
for macOS
brew install --cask powershell
Code Example |
---|
Shell :: how to chanbge port number on centos8 |
Shell :: How to install Qt console |
Shell :: vscode publish to github organisation |
Shell :: grep line after match |
Shell :: awk define string as delimiter |
Shell :: set node role kubernetes |
Shell :: wsl2 curl localhost |
Shell :: git |
Shell :: powershell copy file to remote server |
Shell :: IntelliJ IDEA 4.2 |
Shell :: how to add image in readme |
Shell :: bash print a blank line |
Shell :: sed delete line match |
Shell :: vim quit |
Shell :: wsl2 |
Shell :: install docker desktop ubuntu |
Shell :: how to install npm packages globally |
Shell :: bash list |
Shell :: signing key android |
Shell :: how to delete branch on git |
Shell :: push to multiple repos git |
Shell :: create react and rails app |
Shell :: install gitflow |
Shell :: linux file full permission |
Shell :: git bisect |
Shell :: shtdown pi cli |
Shell :: awk bash |
Shell :: install mavros on ubuntu |
Shell :: upgrade armbian |
Shell :: ubuntu open file system from terminal |