Skip to content

Commit b79af07

Browse files
committed
Add Linux and Windows installation instructions
1 parent 4b58168 commit b79af07

3 files changed

Lines changed: 70 additions & 15 deletions

File tree

README.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ Get PowerShell
3232
Building summary: `Start-PSBuild` from the module
3333
`./PowerShellGitHubDev.psm1` (self-host on Linux / OS X)
3434

35+
See [Linux releases](docs/installation/linux.md) and
36+
[Windows artifacts](docs/installation/windows.md) installation
37+
instructions.
38+
3539
[releases]: https://github.com/PowerShell/PowerShell/releases
3640
[artifacts]: https://ci.appveyor.com/project/PowerShell/powershell-linux/build/artifacts
3741

@@ -46,7 +50,8 @@ search the [issues][], and if all else fails, open a new issue.
4650

4751
[issues]: https://github.com/PowerShell/PowerShell/issues
4852

49-
## Obtain the source code
53+
Obtain the source code
54+
----------------------
5055

5156
### Setup Git
5257

@@ -65,17 +70,3 @@ other repositories embedded within it as submodules. *Please* see the
6570
contributing guidelines and learn about submodules. Not every
6671
submodule is required on every system; see the individual build
6772
instructions for the necessary subsets.
68-
69-
### FullCLR PowerShell
70-
71-
## Running from CI server
72-
73-
We publish an archive with FullCLR bits on every CI build with [AppVeyor][].
74-
75-
* Download zip package from **artifacts** tab of the particular build.
76-
* Unblock zip file: right-click in file explorer -> properties -> check
77-
'Unblock' checkbox -> apply
78-
* Extract zip file to `$bin` directory
79-
* `Start-DevPSGithub -binDir $bin`
80-
81-
[appveyor]: https://ci.appveyor.com/project/PowerShell/powershell-linux

docs/installation/linux.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Package installation instructions
2+
=================================
3+
4+
Supports Ubuntu 14.04, CentOS 7.1, and OS X 10.11.
5+
6+
Once the package is installed, `powershell` will be in your path,
7+
ready to be launched from a terminal. It will read
8+
`~/.powershell/profile.ps1` for your user profile, and
9+
`/usr/local/share/powershell/PSL_profile.ps1` for the system profile.
10+
11+
Similarly, it will search `~/.powershell/Modules` and
12+
`/usr/local/share/powershell/Modules` for user and system modules.
13+
14+
Ubuntu 14.04
15+
============
16+
17+
Using a stock Ubuntu 14.04 image, download the
18+
`powershell_0.2.0-1_amd64.deb` file, and then execute the following:
19+
20+
```sh
21+
sudo apt-get install libunwind8 libicu52
22+
sudo dpkg -i powershell_0.2.0-1_amd64.deb
23+
```
24+
25+
CentOS 7.1
26+
==========
27+
28+
Using a stock CentOS 7.1 image, download the
29+
`powershell-0.2.0-1.x86_64.rpm` file, and then execute the following:
30+
31+
```sh
32+
sudo yum install powershell-0.2.0-1.x86_64.rpm
33+
```
34+
35+
OS X 10.11
36+
==========
37+
38+
Using an OS X 10.11 machine, download the `powershell-0.2.0.pkg` file,
39+
double-click it, and follow the prompts.

docs/installation/windows.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Artifact installation instructions
2+
==================================
3+
4+
We publish an archive with CoreCLR and FullCLR bits on every CI build
5+
with [AppVeyor][].
6+
7+
[appveyor]: https://ci.appveyor.com/project/PowerShell/powershell-linux
8+
9+
CoreCLR artifacts
10+
=================
11+
12+
* Download zip package from **artifacts** tab of the particular build.
13+
* Unblock zip file: right-click in file explorer -> properties ->
14+
check 'Unblock' box -> apply
15+
* Extract zip file to `bin` directory
16+
* `./bin/powershell.exe`
17+
18+
FullCLR artifacts
19+
=================
20+
21+
* Download zip package from **artifacts** tab of the particular build.
22+
* Unblock zip file: right-click in file explorer -> properties ->
23+
check 'Unblock' box -> apply
24+
* Extract zip file to `$in` directory
25+
* `Start-DevPSGithub -binDir bin`

0 commit comments

Comments
 (0)