Simplify README installation instructions
- Remove complex installation options - List prerequisites with direct winget commands - Keep oneshot installation as recommended option - Add manual setup steps for clarity - Focus on getting users started quickly
This commit is contained in:
43
README.md
43
README.md
@@ -77,30 +77,45 @@ Then run scripts using:
|
||||
|
||||
## Requirements
|
||||
|
||||
### Installation
|
||||
### Prerequisites
|
||||
|
||||
**Quick Automated Installation (Windows 11):**
|
||||
Install these tools before starting:
|
||||
|
||||
**PowerShell 7+**
|
||||
```powershell
|
||||
winget install Microsoft.PowerShell
|
||||
```
|
||||
|
||||
**Git 2.23+**
|
||||
```powershell
|
||||
winget install Git.Git
|
||||
```
|
||||
|
||||
**Visual Studio Code**
|
||||
```powershell
|
||||
winget install Microsoft.VisualStudioCode
|
||||
```
|
||||
|
||||
### Quick Start
|
||||
|
||||
**Option 1: Oneshot Installation (Recommended)**
|
||||
Download, install prerequisites, and clone the repository in one command:
|
||||
Install everything and clone the repository in one command:
|
||||
|
||||
```powershell
|
||||
irm https://git.frod.dk/floppydiscen/git-workshop/raw/branch/main/install.ps1 | iex
|
||||
```
|
||||
|
||||
This will:
|
||||
- Install PowerShell 7, Git 2.23+, and Visual Studio Code
|
||||
- Clone the git-workshop repository to `~/git-workshop`
|
||||
- Leave you ready to start the first module
|
||||
|
||||
**Option 2: Local Installation**
|
||||
Clone the repository first, then run:
|
||||
|
||||
**Option 2: Manual Setup**
|
||||
1. Install the prerequisites above
|
||||
2. Clone this repository:
|
||||
```powershell
|
||||
.\install-prerequisites.ps1
|
||||
git clone https://git.frod.dk/floppydiscen/git-workshop.git
|
||||
```
|
||||
3. Configure Git:
|
||||
```powershell
|
||||
git config --global user.name "Your Name"
|
||||
git config --global user.email "your.email@example.com"
|
||||
```
|
||||
|
||||
**Manual Installation:** See [INSTALLATION.md](INSTALLATION.md) for complete step-by-step installation instructions including PowerShell 7, Git, and Visual Studio Code.
|
||||
|
||||
**Quick Check:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user