Archived
docs: fix Windows install path
Use %LOCALAPPDATA%\Programs\barn instead of System32. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
165e363084
commit
13655f5a54
1 file changed
+14
-8
@@ -72,17 +72,23 @@ sudo mv barn /usr/local/bin/
|
|||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
**Download the binary:**
|
**PowerShell (recommended):**
|
||||||
|
|
||||||
1. Download `barn-windows-x64.exe` from the [latest release](https://github.com/samson-media/barn/releases/latest)
|
|
||||||
2. Rename to `barn.exe` and move to a directory in your PATH
|
|
||||||
|
|
||||||
**PowerShell:**
|
|
||||||
```powershell
|
```powershell
|
||||||
Invoke-WebRequest -Uri "https://github.com/samson-media/barn/releases/latest/download/barn-windows-x64.exe" -OutFile "barn.exe"
|
# Create install directory
|
||||||
Move-Item barn.exe C:\Windows\System32\
|
New-Item -ItemType Directory -Force -Path "$env:LOCALAPPDATA\Programs\barn"
|
||||||
|
|
||||||
|
# Download
|
||||||
|
Invoke-WebRequest -Uri "https://github.com/samson-media/barn/releases/latest/download/barn-windows-x64.exe" -OutFile "$env:LOCALAPPDATA\Programs\barn\barn.exe"
|
||||||
|
|
||||||
|
# Add to PATH (current user)
|
||||||
|
$path = [Environment]::GetEnvironmentVariable("Path", "User")
|
||||||
|
if ($path -notlike "*$env:LOCALAPPDATA\Programs\barn*") {
|
||||||
|
[Environment]::SetEnvironmentVariable("Path", "$path;$env:LOCALAPPDATA\Programs\barn", "User")
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Restart your terminal after installation.
|
||||||
|
|
||||||
### Verify Installation
|
### Verify Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in new issue
Block a user