refactor: update docs for the install.ps1 script
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#!/usr/bin/env pwsh
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Installs all prerequisites for Git Workshop using winget and clones the repository.
|
||||
Installs all prerequisites for Git Workshop using winget (which is a CLI
|
||||
tool to the Windows Package Manager Server) and clones the workshop
|
||||
repository.
|
||||
|
||||
.DESCRIPTION
|
||||
This script automates the installation of required tools for the Git Workshop:
|
||||
@@ -17,9 +19,11 @@ each installation succeeded. At the end, it clones the repository and can
|
||||
open it in VSCode for immediate workshop access.
|
||||
|
||||
One-shot installation:
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
Invoke-RestMethod -Uri https://git.frod.dk/floppydiscen/git-workshop/raw/branch/main/install.ps1 | Invoke-Expression
|
||||
|
||||
.EXAMPLE
|
||||
PS> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
PS> Invoke-RestMethod -Uri https://git.frod.dk/floppydiscen/git-workshop/raw/branch/main/install.ps1 | Invoke-Expression
|
||||
Runs the complete installation and setup in one command.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user