# Installation Instructions for Windows 10

Install go lang above [v1.10](https://golang.org/dl/) and install g++ by [mingw-w64](https://sourceforge.net/projects/mingw-w64/)

Suppose the working directory is c:\\

```
cd c:\
```

Get source code from Github:

```
git clone https://github.com/pchain-org/pchain.git
```

Create a directory under the current directory:

```
cd c:\pchain\
mkdir src\github.com\pchain\
```

Copy all directories/files except '!!restore!!', '.git', '!!readmefirst!!.txt' to the newly created directory.

Copy all files under '!!restore!!' to the current directory, then build pchain

```
./build.bat
```

An executable file 'pchain' should be generated under .\bin&#x20;

You can then run `help` to should show the [Command Line Options](https://pliangroup.gitbook.io/plian/master/using-the-blockchain/advanced-features/command-line-options).

```
cd bin
pchain.exe help
```

To start pchain node, run `run.bat`(you may need to adjust the content in it to get more log output):

```
  ./run.bat
```

Log in to another console and run this command to check the log:

```
  more pchain.log
```

###
