I can't get this
Closed this issue · 7 comments
`C:\Windows\system32>igm
sh: git: not found
sh: igm: not found`
When I try to run after the first setup by typing igm into the command line only this displays what I see at the top
Your system doesn't have git
installed.
Run this command: winget install -i Git.Git
.
If you're on latest version of Windows 10 and 11 then there should be the Windows Package Manager Winget
and that command there should install git
directly for you.
If it fails, then download and install manually from here: https://git-scm.com/downloads.
After git
is installed, go through the setup process how you started again.
I do strongly recommend you read through the wiki and any instructions given.
I've pushed a new update. You can just download the updated Windows script and run it with the command below.
curl -o %APPDATA%\IGM\igm.bat --create-dirs --ssl-no-revoke -L https://raw.githubusercontent.com/XternA/income-generator/main/start.bat
Again, this will assume your system has winget
.
`C:\Users\lolek\Desktop>git -v
git version 2.47.0.windows.2
C:\Users\lolek\Desktop>igm
sh: git: not found
sh: igm: not found
C:\Users\lolek\Desktop>`
I installed git and ran the installation but it's still the same
Could you answer the following so I get a better understanding of your environment:
- Do you have WSL installed?
where winget
- If yes, what distro are you using? Preferably Ubuntu
wsl cat /etc/os-release
- If also yes, verify if WSL has git installed.
wsl which git
- Can you verify the script is located in the correct location and contains
igm.bat
?
dir /b %appdata%\IGM
From the looks of it. it seems like the issue is with your WSL. Everything else seems to be in the right place.
The fact wsl cat /etc/os-release
didn't return a Linux disto but instead "Docker Desktop" tells me the following:
- You've got Docker Desktop installed but not actually "Ubuntu" under WSL.
- You probably actually don't have any Linux distro installed which is why
wsl git
didn't return the path.
Please do the following:
- Please remove the Docker desktop first to ensure what we do next won't interfere with what we're going to do next.
- Run all these steps below:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
wsl --set-default-version 2
wsl --update
wsl --install -d Ubuntu
# Run this to confirm you switch over to WSL
wsl
cat /etc/os-release
- If all correct it should now show Ubuntu as the distro.
- If it does indeed show Ubuntu, then you can close the terminal and start a new one again.
- Type
igm
again, which should work now. Then proceed toOption 7
and install docker from the menu again and refer to the Docker Desktop UI section for a few changes: https://github.com/XternA/income-generator/wiki/Docker-Installation#windows
If all of that works, then you have the tool configured properly and you may proceed to setup your credentials and install the applications.
Finally, see this section if you want to scale or use proxy: https://github.com/XternA/income-generator/wiki/Multi%E2%80%90Proxy-Support
Thanks for your patience.
Everything is working now, thank you very much for your time