Go to file
2016-04-19 15:59:26 -07:00
.vscode Put version back to make VS Code happy 2016-04-01 10:26:50 -07:00
docs Merge pull request #848 from PowerShell/andschwa/try-osx 2016-04-14 11:45:26 -07:00
src Merge pull request #850 from PowerShell/andschwa/fix-xunit 2016-04-18 19:27:55 -07:00
test Add Clear-Variable Pester Unit Test 2016-04-19 15:59:26 -07:00
.gitignore Update .gitignore to include work on windows 2016-04-04 18:51:57 -07:00
.gitmodules Remove OMI and provider submodules 2016-04-12 12:10:54 -07:00
.travis.yml Enable xUnit tests on Linux 2016-04-14 18:07:33 -07:00
appveyor.yml Update AppVeyor to use Start-PSBootstrap 2016-04-13 19:24:11 -07:00
build.sh Import-Module PowerShellGitHubDev in build.sh 2016-04-13 18:56:23 -07:00
CONTRIBUTING.md Quick markdown cleanups 2016-04-07 13:56:20 -07:00
debug.sh Improve debug.sh script 2016-02-19 14:58:42 -08:00
download.sh Install package dependencies in download.sh 2016-04-13 19:24:12 -07:00
global.json Add global.json for dnu restore from root 2015-11-24 15:07:55 -08:00
KNOWNISSUES.md Update readme and known issues 2016-03-08 10:12:28 -08:00
mapping.json Fix accidental mapping change 2016-04-08 18:09:09 -07:00
nuget.config Fix xUnit tests for Linux 2016-04-14 18:06:57 -07:00
PowerShellGitHubDev.psm1 Merge pull request #850 from PowerShell/andschwa/fix-xunit 2016-04-18 19:27:55 -07:00
README.md Update documentation for OS X testing 2016-04-14 11:26:34 -07:00

PowerShell

This repository is "Project Magrathea": Open PowerShell on GitHub, for Linux, Windows (.NET Core and Full), and OS X. It is built using the .NET Command Line Interface to support targetting every flavor of PowerShell. It is a collaborative effort among many teams:

  • Full PowerShell
  • Core PowerShell
  • Open Source Technology Center
  • .NET Foundation

Build Status

Platform master
Ubuntu 14.04 Build Status
OS X 10.11 Build Status
Windows Build status

Get PowerShell

Linux Windows .NET Core Windows .NET Full OS X PSRP
Build from Source Instructions Instructions Instructions Instructions Instructions
Get Binaries Releases Artifacts Artifacts Releases TBD

Building summary: Start-PSBuild from the module ./PowerShellGitHubDev.psm1 (self-host on Linux / OS X)

See Linux releases and Windows artifacts installation instructions.

Team coordination

If you encounter any problems, see the known issues, search the issues, and if all else fails, open a new issue.

Obtain the source code

Setup Git

Install Git, the version control system.

See the Contributing Guidelines for more Git information, such as our installation instructions, contributing rules, and Git best practices.

Download source code

Clone this repository. It is a "superproject" and has a number of other repositories embedded within it as submodules. Please see the contributing guidelines and learn about submodules. To make things easy, we can just clone recursively.

git clone --recursive https://github.com/PowerShell/PowerShell.git

You can verify that the submodules were initialized properly with:

git submodule status

If they're initialized, it will look like this:

 f23641488f8d7bf8630ca3496e61562aa3a64009 src/Modules/Pester (f23641488)
 c99458533a9b4c743ed51537e25989ea55944908 src/libpsl-native/test/googletest (release-1.7.0)
 e6bf85694ae8352d77175c4c7d304946e018808c src/windows-build (monad/cc6afbeb-3/31)

If they're not, there will be minuses in front (and the folders will be empty):

-f23641488f8d7bf8630ca3496e61562aa3a64009 src/Modules/Pester (f23641488)
-c99458533a9b4c743ed51537e25989ea55944908 src/libpsl-native/test/googletest (release-1.7.0)
-e6bf85694ae8352d77175c4c7d304946e018808c src/windows-build (monad/cc6afbeb-3/31)