-
Notifications
You must be signed in to change notification settings - Fork 274
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What were you trying to install (or what else went wrong)?
git
What exactly did you do?
I ran curl https://webi.ms/git | powershell
What went wrong?
Despite the installation went ok and restarting the command prompt,
git command cannot be found:
"'git' is not recognized as an internal or external command, operable program or batch file."
Installation Log:
C:\Windows\System32>curl.exe https://webi.ms/git | powershell
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
100 781 0 781 0 0 1400 0 --:--:-- --:--:-- --:--:-- 1440
# Download the latest webi, then install git
PS C:\Windows\System32> # <pre>
PS C:\Windows\System32> ############################################################
PS C:\Windows\System32> # <h1>Cheat Sheet at https://webinstall.dev/git</h1>
PS C:\Windows\System32> # <meta http-equiv="refresh" content="3; URL='https://webinstall.dev/git'" />
PS C:\Windows\System32> ############################################################
PS C:\Windows\System32> New-Item -Path "$Env:USERPROFILE\Downloads\webi" -ItemType Directory -Force | Out-Null
PS C:\Windows\System32> New-Item -Path "$Env:USERPROFILE\.local\bin" -ItemType Directory -Force | Out-Null
PS C:\Windows\System32> IF ($null -eq $Env:WEBI_HOST -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = 'https://webi.ms'}
PS C:\Windows\System32> curl.exe -s -A "windows" "$Env:WEBI_HOST/packages/webi/webi-pwsh.ps1" -o "$Env:USERPROFILE\.local\bin\webi-pwsh.ps1"
PS C:\Windows\System32> Set-ExecutionPolicy -Scope Process Bypass
PS C:\Windows\System32> & "$Env:USERPROFILE\.local\bin\webi-pwsh.ps1" "git"
Welcome to Webi! - Instant Installs, Easy to Remember URLs
(PowerShell+curl Windows/10+ AMD64 msvc)
Installing git
Fetching install script ...
Updating C:\Users\rakepede\.local\tmp\git.install.ps1
Downloading from
https://webi.ms/api/installers/git.ps1
?formats=zip,exe,tar,git&libc=msvc
Saved C:\Users\rakepede\.local\tmp\git.install.ps1
Copying into 'C:\Users\rakepede\.local\opt\git' from 'C:\Users\rakepede\.local\opt\git-v2.50.0.windows.1'
Checking for updates to Webi ...
Updating C:\Users\rakepede\.local\bin\webi-pwsh.ps1
Downloading from
https://webi.ms/packages/webi/webi-pwsh.ps1
Saved C:\Users\rakepede\.local\bin\webi-pwsh.ps1
***********************************
* IMPORTANT -- READ ME *
* (run the PATH commands below) *
***********************************
Copy, paste, and run the appropriate commands to update your PATH:
cmd.exe:
(close and reopen the terminal)
PowerShell:
$UserPath = [Environment]::GetEnvironmentVariable('Path', 'User')
$MachinePath = [Environment]::GetEnvironmentVariable('Path', 'Machine')
$Env:Path = "${UserPath};${MachinePath}"
(or close and reopen the terminal)
PS C:\Windows\System32>
Which OS did you try on?
- Mac
- Windows
- Linux
What type of computer (i.e. laptop, desktop, Raspberry Pi)?
- Laptop or Desktop (amd64 / x86-64)
- Raspberry Pi (ARM-64)
- Other (please specify, if you know)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working