mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-26 11:21:46 +00:00
elaborate yet safe installation commands
This commit is contained in:
parent
0c3bd50246
commit
f952f8c891
@ -50,6 +50,9 @@ Alternatively, feel free to run the [install script](./install_windows.ps1) afte
|
|||||||
cloning the repository or directly execute it from shell:
|
cloning the repository or directly execute it from shell:
|
||||||
|
|
||||||
```pwsh
|
```pwsh
|
||||||
# Using 'Invoke-RestMethod' and 'Invoke-Expression'
|
irm https://api.github.com/repos/Baipyrus/dotfiles/zipball -O "$env:TMP\dotfiles.zip"
|
||||||
irm 'https://raw.githubusercontent.com/Baipyrus/dotfiles/main/install_windows.ps1' | iex
|
Expand-Archive "$env:TMP\dotfiles.zip" -D "$env:TMP\dotfiles" -F
|
||||||
|
gci "$env:TMP\dotfiles\**\install_windows.ps1" | % {
|
||||||
|
saps powershell.exe -Wait -Wo $_.DirectoryName -A "-Ex", "Bypass", "-F", $_.FullName
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user