cask 'powershell' do version '6.0.0-alpha.17' sha256 'b25b4a9e40ad8d036931ef1f4292805fec048c1ab26f5d9983650784f87d7bc3' # 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: 'b29c39526841c258d0476c9de9beae54c589f2cf337af93d02e55d3d9722f74f' 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