cask 'powershell' do version '6.0.0-alpha.13' sha256 '3bcb890d934a41fab1cb67e40e8ed6d58df902cddb420b4e359aa12ce7c85b01' # github.com/PowerShell/PowerShell was verified as official when first introduced to the cask url "https://github.com/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}.pkg" appcast 'https://github.com/PowerShell/PowerShell/releases.atom', checkpoint: '18014ddba1e858639078352c1a7baeaef742eca4b8cbb72a3e1dcd657e69da01' name 'PowerShell' homepage 'https://msdn.microsoft.com/powershell' depends_on formula: 'openssl' pkg "powershell-#{version}.pkg" uninstall pkgutil: 'powershell' zap delete: [ '~/.cache/powershell', '~/.config/PowerShell', '~/.local/share/powershell', ], rmdir: [ '~/.cache', '~/.config', '~/.local/share', '~/.local', ] caveats <<-EOS.undent A OpenSSL-backed libcurl is required for custom handling of certificates. This is rarely needed, but you can install it with brew install curl --with-openssl See https://github.com/PowerShell/PowerShell/issues/2211 EOS end