Files
screeps-scripts/docs/in-depth/cookbook/one-line-powershell.md
2018-02-06 18:01:40 +07:00

20 lines
667 B
Markdown

# One-line PowerShell setup
> **Note:** As of v3.0, this no longer works. This issue is being tracked [here](https://github.com/ChrisTaylorRocks/screeps-typescript-starter-setup/issues/1).
[@ChrisTaylorRocks](https://github.com/ChrisTaylorRocks) has made a PowerShell script to get the starter kit up and running with a single command. Go check it out [here](https://github.com/ChrisTaylorRocks/screeps-typescript-starter-setup)!
## Usage
PowerShell < 5.0:
```
PS> (new-object Net.WebClient).DownloadString('http://bit.ly/2z2QDJI') | iex; New-ScreepsTypeScriptSetup
```
PowerShell 5.0+:
```
PS> curl http://bit.ly/2z2QDJI | iex; New-ScreepsTypeScriptSetup
```