Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 52 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,50 +25,58 @@ If you are new to PowerShell and would like to learn more, we recommend reviewin

You can download and install a PowerShell package for any of the following platforms.

| Platform | Downloads | How to Install |
| ---------------------------------- | ---------------------- | ----------------------------- |
| Windows (x64) | [.msi][rl-windows-64] | [Instructions][in-windows] |
| Windows (x86) | [.msi][rl-windows-86] | [Instructions][in-windows] |
| Ubuntu 17.04 | [.deb][rl-ubuntu17] | [Instructions][in-ubuntu17] |
| Ubuntu 16.04 | [.deb][rl-ubuntu16] | [Instructions][in-ubuntu16] |
| Ubuntu 14.04 | [.deb][rl-ubuntu14] | [Instructions][in-ubuntu14] |
| Debian 8 | [.deb][rl-debian8] | [Instructions][in-deb8] |
| Debian 9 | [.deb][rl-debian9] | [Instructions][in-deb9] |
| CentOS 7 | [.rpm][rl-centos] | [Instructions][in-centos] |
| Red Hat Enterprise Linux 7 | [.rpm][rl-centos] | [Instructions][in-rhel7] |
| OpenSUSE 42.2 | [.rpm][rl-centos] | [Instructions][in-opensuse422]|
| Fedora 25 | [.rpm][rl-centos] | [Instructions][in-fedora25] |
| Fedora 26 | [.rpm][rl-centos] | [Instructions][in-fedora26] |
| Arch Linux | | [Instructions][in-archlinux] |
| Many Linux distributions | [.AppImage][rl-ai] | [Instructions][in-appimage] |
| macOS 10.12 | [.pkg][rl-macos] | [Instructions][in-macos] |
| Docker | | [Instructions][in-docker] |
| Kali Linux | [.deb][rl-ubuntu16] | [Instructions][in-kali] |
| Raspbian (Stretch) | [.tgz][rl-raspbian] | [Instructions][in-raspbian] |
| Supported Platform | Downloads | How to Install |
| -------------------------------------------| ------------------------| ----------------------------- |
| [Windows (x64)][corefx-win] | [.msi][rl-windows-64] | [Instructions][in-windows] |
| [Windows (x86)][corefx-win] | [.msi][rl-windows-86] | [Instructions][in-windows] |
| [Ubuntu 17.04][corefx-linux] | [.deb][rl-ubuntu17] | [Instructions][in-ubuntu17] |
| [Ubuntu 16.04][corefx-linux] | [.deb][rl-ubuntu16] | [Instructions][in-ubuntu16] |
| [Ubuntu 14.04][corefx-linux] | [.deb][rl-ubuntu14] | [Instructions][in-ubuntu14] |
| [Debian 8.7+][corefx-linux] | [.deb][rl-debian8] | [Instructions][in-deb8] |
| [Debian 9][corefx-linux] | [.deb][rl-debian9] | [Instructions][in-deb9] |
| [CentOS 7][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-centos] |
| [Red Hat Enterprise Linux 7][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-rhel7] |
| [OpenSUSE 42.2][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-opensuse422]|
| [Fedora 25][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-fedora25] |
| [Fedora 26][corefx-linux] | [.rpm][rl-centos] | [Instructions][in-fedora26] |
| [macOS 10.12+][corefx-macos] | [.pkg][rl-macos] | [Instructions][in-macos] |
| Docker | | [Instructions][in-docker] |

You can download and install a PowerShell package for any of the following platforms, **which are supported by the community.**

| Platform | Downloads | How to Install |
| -------------------------| ------------------------| ----------------------------- |
| Arch Linux | | [Instructions][in-archlinux] |
| Kali Linux | [.deb][rl-ubuntu16] | [Instructions][in-kali] |
| Many Linux distributions | [.AppImage][rl-ai] | [Instructions][in-appimage] |

You can also download the PowerShell binary archives for Windows, macOS and Linux.

| Platform | Downloads | How to Install |
| ------------ | ----------------------------------------------- | ------------------------------ |
| Windows | [32-bit][rl-winx86-zip]/[64-bit][rl-winx64-zip] | [Instructions][in-windows-zip] |
| macOS | [64-bit][rl-macos-tar] | [Instructions][in-tar] |
| Linux | [64-bit][rl-linux-tar] | [Instructions][in-tar] |

[rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x64.msi
[rl-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x86.msi
[rl-ubuntu17]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.ubuntu.17.04_amd64.deb
[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.ubuntu.16.04_amd64.deb
[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.ubuntu.14.04_amd64.deb
[rl-debian8]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.debian.8_amd64.deb
[rl-debian9]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell_6.0.0-rc-1.debian.9_amd64.deb
[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0_rc-1.rhel.7.x86_64.rpm
[rl-ai]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-x86_64.AppImage
[rl-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-osx.10.12-x64.pkg
[rl-winx86-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x86.zip
[rl-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x64.zip
[rl-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-osx-x64.tar.gz
[rl-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-linux-x64.tar.gz
[rl-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/powershell-6.0.0-rc-linux-arm32.tar.gz
| Platform | Downloads | How to Install |
| ------------------------------------| ------------------------------------------------ | ------------------------------ |
| Windows | [32-bit][rl-winx86-zip]/[64-bit][rl-winx64-zip] | [Instructions][in-windows-zip] |
| macOS | [64-bit][rl-macos-tar] | [Instructions][in-tar] |
| Linux | [64-bit][rl-linux-tar] | [Instructions][in-tar] |
| Windows (arm) **Experimental** | [32-bit][rl-winarm]/[64-bit][rl-winarm64] | [Instructions][in-windows-zip] |
| Raspbian (Stretch) **Experimental** | [.tgz][rl-raspbian] | [Instructions][in-raspbian] |

[rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi
[rl-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x86.msi
[rl-ubuntu17]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.17.04_amd64.deb
[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb
[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.14.04_amd64.deb
[rl-debian8]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.8_amd64.deb
[rl-debian9]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.9_amd64.deb
[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm
[rl-ai]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-x86_64.AppImage
[rl-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx.10.12-x64.pkg
[rl-winarm]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-arm32.zip
[rl-winarm64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-arm64.zip
[rl-winx86-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x86.zip
[rl-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.zip
[rl-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx-x64.tar.gz
[rl-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-x64.tar.gz
[rl-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-arm32.tar.gz

[installation]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation
[in-windows]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/windows.md#msi
Expand All @@ -90,6 +98,9 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu
[in-windows-zip]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/windows.md#zip
[in-tar]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#binary-archives
[in-raspbian]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#raspbian
[corefx-win]:https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#windows
[corefx-linux]:https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#linux
[corefx-macos]:https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#macos

To install a specific version, visit [releases](https://github.com/PowerShell/PowerShell/releases).

Expand Down
4 changes: 2 additions & 2 deletions docker/community/amazonlinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

FROM amazonlinux:latest

ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc-linux-x64.tar.gz
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc.2-linux-x64.tar.gz
ARG IMAGE_NAME=microsoft/powershell:amazonlinux

LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
Expand Down
2 changes: 1 addition & 1 deletion docker/release/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM centos:7

ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:centos7

LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
Expand Down
2 changes: 1 addition & 1 deletion docker/release/fedora25/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM fedora:25

ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:fedora25

LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
Expand Down
2 changes: 1 addition & 1 deletion docker/release/fedora26/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM fedora:26

ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:fedora26

LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
Expand Down
4 changes: 2 additions & 2 deletions docker/release/nanoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG NanoServerRepo=microsoft/nanoserver
FROM ${WindowsServerCoreRepo}:$WindowsServerCoreVersion AS installer-env

# Arguments for installing powershell, must be defined in the container they are used
ARG PS_VERSION=6.0.0-rc
ARG PS_VERSION=6.0.0-rc.2

ENV PS_DOWNLOAD_URL https://github.com/PowerShell/PowerShell/releases/download/v$PS_VERSION/PowerShell-$PS_VERSION-win-x64.zip

Expand All @@ -25,7 +25,7 @@ RUN Expand-Archive powershell.zip -DestinationPath \PowerShell
FROM ${NanoServerRepo}:$NanoServerVersion

ARG VCS_REF="none"
ARG PS_VERSION=6.0.0-rc
ARG PS_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell

LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
Expand Down
4 changes: 2 additions & 2 deletions docker/release/opensuse42.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

FROM opensuse:42.2

ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc-linux-x64.tar.gz
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc.2-linux-x64.tar.gz
ARG IMAGE_NAME=microsoft/powershell:opensuse42.2

LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
Expand Down
2 changes: 1 addition & 1 deletion docker/release/ubuntu14.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM ubuntu:trusty

ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:ubuntu14.04

LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
Expand Down
2 changes: 1 addition & 1 deletion docker/release/ubuntu16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM ubuntu:xenial

ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:ubuntu16.04

LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
Expand Down
4 changes: 2 additions & 2 deletions docker/release/windowsservercore/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# escape=`
FROM microsoft/windowsservercore:latest

ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x64.msi
ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:windowsservercore

LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
Expand Down
4 changes: 2 additions & 2 deletions docker/tests/container.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Describe "Linux Containers run PowerShell" -Tags 'Behavior', 'Linux' {
$path
)

Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc'
Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc.2'
}
}

Expand All @@ -99,6 +99,6 @@ Describe "Windows Containers run PowerShell" -Tags 'Behavior', 'Windows' {
$path
)

Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc'
Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc.2'
}
}
2 changes: 1 addition & 1 deletion docker/tests/containerTestCommon.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function Test-PSPackage
[Parameter(Mandatory=$true)]
$PSPackageLocation, # e.g. Azure storage
[string]
$PSVersion = "6.0.0-rc",
$PSVersion = "6.0.0-rc.2",
[string]
$TestList = "/PowerShell/test/powershell/Modules/PackageManagement/PackageManagement.Tests.ps1,/PowerShell/test/powershell/engine/Module"
)
Expand Down
Loading