19 lines
No EOL
558 B
Bash
Executable file
19 lines
No EOL
558 B
Bash
Executable file
#!/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" |