first commit
This commit is contained in:
19
powershell-install/macos-pwsh-install.sh
Executable file
19
powershell-install/macos-pwsh-install.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
#####################################################
|
||||
# Powershell Installation Script. macOS and Linux #
|
||||
#####################################################
|
||||
|
||||
echo "Installing Homebrew"
|
||||
# Install Homebrew
|
||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
|
||||
echo "Install Cask"
|
||||
# Install Cask
|
||||
brew install caskroom/cask/brew-cask
|
||||
|
||||
echo "Using Cask to install Powershell"
|
||||
# Install Powershell Using Cask
|
||||
brew cask install powershell
|
||||
|
||||
read -p "The installation has completed. Use pwsh to user PowerShell"
|
||||
Reference in New Issue
Block a user