added PowerShell setup Command

This commit is contained in:
Tsquash 2020-10-10 13:03:34 -05:00
parent e1dcf1514f
commit 45f4ffc03a

View file

@ -63,6 +63,7 @@ defaultValue="curl"
values={[
{label: 'Using curl', value: 'curl'},
{label: 'Using wget', value: 'wget'},
{label: 'Using PowerShell', value: 'PowerShell'},
]}>
<TabItem value="curl">
@ -77,6 +78,12 @@ bash -c "$(curl -fsSL https://zmkfirmware.dev/setup.sh)"
bash -c "$(wget https://zmkfirmware.dev/setup.sh -O -)"
```
</TabItem>
<TabItem value="PowerShell">
```
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/CrossR/zmk/CrossR/ShellScriptTidyUp/docs/static/setup.ps1'))"
```
</TabItem>
</Tabs>