How to use your first GitHub project.
A real install on Windows, wall by wall.
Someone sent you a link to a project on GitHub and the install stopped with an error. Here is one real install from start to finish, with every screen you should see, every screen you should not, and what to do next.
§01 · Before we begin
This page follows one real install. On 2026-11-21 a first-time user installed a project from GitHub by hand. It stopped nine times. Each stop is here, in order, with the words that were on the screen.
The project is Sextant, a memory tool for AI programs. You can follow along with it, or use your own project. The steps are the same when that project's page gives a pip install line. If it gives none, stop and read its page first.
The page uses three kinds of panel. Type this is a line to type. You should see is the screen when it worked. Not this is the screen when it did not, with the next step under it.
Everything here is for Windows 10 or 11. The real install was done without an administrator account. Windows may still ask permission when an installer starts. Say yes only for an installer you just started yourself.
Installing a project means running someone else's code on your computer. Install a project because you have a reason to trust it, not because a stranger sent a link.
§02 · The words, one line each
Most install pages assume you know these words. Here they are.
- Terminal: a window where you type a command, press Enter, and read the answer. On Windows it is called PowerShell. Open it from the Start menu: type
powershelland press Enter. - GitHub: an online platform that holds software projects [1]. You visit it as a website.
- Git: a version control program. It tracks changes to a project's files [1], and it is the tool people use to copy a project from GitHub. GitHub is the place. Git is the tool.
- Python: a programming language. A project written in Python needs Python on your computer, the way a PDF needs a PDF reader.
- pip: Python's installer. It fetches a project and the parts that project needs [4].
- Virtual environment: a private copy of Python inside one folder, so one project's parts cannot disturb another's [5].
- PATH: the list of folders Windows searches when you type a program's name. It is one of the settings Windows calls environment variables [3].
So the whole job is three moves. GitHub holds the project. pip fetches it. Python runs it.
§03 · The one rule
After you install anything, close PowerShell and open a new window from the Start menu.
A window gets its copy of the PATH list when it opens, handed down from whatever opened it [3]. Install Git a minute later and the open window still holds the old list. The install worked. The window is out of date.
This was wall four on the real install. Git was installed, and the same window still said this:
PS C:\Users\you> git --version git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
If you would rather keep the window, this line makes it read both saved lists again. Paste it, press Enter, then try your command.
$env:Path = [Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [Environment]::GetEnvironmentVariable("Path", "User")It prints nothing when it works.
§04 · Check what you already have
Open PowerShell and ask for Python. The py command comes with Python on Windows and lists every version it can find [2].
py --listPS C:\Users\you> py --list -V:3.13 * Python 3.13 (64-bit)
A project's page says which Python it needs. Sextant needs 3.11 or newer. If your list shows nothing that new, install a newer Python in §05, open a new window, and run py --list again. If you see the "not recognized" message from §03 with py in it, Python is missing. Go to §05.
Now ask for Git.
git --versionPS C:\Users\you> git --version git version 2.53.0.windows.2
"Not recognized" here means Git is missing, or this window cannot find it. You can install Git in §06. You can also skip Git, because §09 has a way that works without it.
§05 · Install Python, two ways
Both ways give the same result. Pick the one that feels familiar. Then open a new window.
With an installer. Go to python.org/downloads. On 2026-11-23 that page offered two downloads for Windows. Choose the link that begins "Or get the standalone installer". Open the file, and look at the first screen before you click anything.
Install Now
Tick this box first, then click Install Now.
That box is what puts Python on the PATH. It may be worded "Add Python to PATH" [2]. If you missed it, run the installer file again, choose Modify, and turn the option on [2].
The other download on that page is the newer Python install manager. It may not show that box. It may ask to add a folder to your PATH. Say yes [18]. Then open a new window and type py --list. If py offers to install Python, say yes, then run py --list again.
With one command. Windows has its own installer program, called winget [8]. If winget asks you to agree to its terms, type Y and press Enter.
winget install Python.Python.3.12When it finishes, open a new window and type py --list again. If winget itself is "not recognized", use the installer way.
§06 · Install Git, two ways
With an installer. Download Git for Windows from git-scm.com and open the file [6]. It asks many questions. Keep clicking Next. One screen matters:
Adjusting your PATH environment
How would you like to use Git from the command line?
Leave it on the middle choice. It is marked Recommended.
The middle choice lets PowerShell find Git [7]. The top choice does not change your PATH at all, so PowerShell will not find Git [7].
With one command.
winget install Git.GitThe longer form on Git's own page is winget install --id Git.Git -e --source winget [6]. The --id and -e parts tell winget to match that exact name [8]. Git's page notes that this winget copy is kept up by other people and can trail the newest release [6].
Wall three was a typing slip: one dash where two belong.
PS C:\Users\you> winget install -id Git.Git -e Adjoined flag alias not found: '-id'
--id. Or leave the extras off and type winget install Git.Git. Your winget may word the complaint differently.Wall five came later. Git seemed to stop working, and the winget line "did nothing". If winget answers that the program is already installed, or that it found no upgrade, believe it. Git is on the computer. This window cannot find it. Open a new window. If that fails too, go to §07.
§07 · Put a program on the PATH yourself
Do this only when a new window still says "not recognized". The example is Git. The same steps work for any program.
Find the folder. One of these two lines prints True.
Test-Path "C:\Program Files\Git\cmd\git.exe"Test-Path "$env:LOCALAPPDATA\Programs\Git\cmd\git.exe"If both print False, Git is not installed. Go back to §06. If one prints True, add its cmd folder to your PATH. There are two ways. They do the same thing.
By clicking.
- 01.
- 02.
Open Path.
In the top list, click
Path, then click Edit. - 03.
Add the folder.
Click New and type the folder, without
\git.exeat the end. - 04.
Save.
Click OK twice. Then open a new PowerShell window.
- C:\Program Files\Git\cmd (highlighted)
Windows keeps two lists: one for your account and one for the whole computer [3]. The top list is yours.
By command. If you are unsure, use the clicking way. Otherwise paste these two lines, one at a time, in the same window and in this order. Change the folder in the first line if yours was the other one.
$folder = "C:\Program Files\Git\cmd"[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";" + $folder, "User")The second line reads your own list, adds the folder to the end, and saves it for your account [9]. It prints nothing. Open a new window and type git --version. To undo either way, open the list from the clicking steps, select the row, and click Delete.
You may see setx PATH "%PATH%;..." recommended elsewhere. Microsoft's own page says setx cuts off anything past 1,024 characters, which can lose folders that were already in the list [10].
Still not found? If you pasted the folder, delete the row and type it by hand. A paste can carry a space or a line break you cannot see. Then restart the computer and try once more. If that fails too, stop here and ask for help: §10 shows what to send.
§08 · Make a folder and a private Python
Type these four lines, one at a time.
cd $HOMEmkdir sextant-installcd sextant-installpy -3 -m venv .venvPS C:\Users\you> mkdir sextant-install Directory: C:\Users\you Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 11/23/2026 7:54 PM sextant-install
The last line makes the virtual environment, in a folder named .venv [5]. It prints nothing. If mkdir answers in red that the item already exists, you made the folder earlier. Carry on with the next line.
Some install pages tell you to "activate" the environment first. On Windows that can end like this:
PS C:\Users\you\sextant-install> .\.venv\Scripts\Activate.ps1 .\.venv\Scripts\Activate.ps1 : File C:\Users\you\sextant-install\.venv\Scripts\Activate.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
.\.venv\Scripts\... lines on this page instead [11].Activating runs a script file, and Windows can be set to allow single commands but no script files [12]. Python's own documentation says activation is optional. You can run the private Python by its full path [11]. On a work computer that setting may be locked by your employer [12]. Leave it alone there.
§09 · Install the project
There are two lines. Both install the same thing. Use one.
.\.venv\Scripts\python.exe -m pip install https://github.com/protechtus/sextant/archive/refs/heads/main.zipGitHub offers a project's files as a ZIP file at a predictable address like that one [14]. pip can install straight from such an address when the project is packaged for pip [15]. A project that is only a folder of loose scripts is not installed this way [15]. For your own project, copy the install line from its page instead of changing this one.
.\.venv\Scripts\python.exe -m pip install git+https://github.com/protechtus/sextantpip's documentation says this form needs the version control program to be working on your computer [13]. Here that program is Git. Without it you hit wall one, the place a beginner stops:
PS C:\Users\you\sextant-install> .\.venv\Scripts\python.exe -m pip install git+https://github.com/protechtus/sextant Collecting git+https://github.com/protechtus/sextant Cloning https://github.com/protechtus/sextant to C:\Users\you\AppData\Local\Temp\pip-req-build-2gnhkwhf ERROR: Error [WinError 2] The system cannot find the file specified while executing command git version ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
cd $HOME\sextant-install, and run the line again.Wall two sat on the same screen and looked like the cause. It was not.
[notice] A new release of pip is available: 26.0.1 -> 26.3 [notice] To update, run: C:\Users\you\sextant-install\.venv\Scripts\python.exe -m pip install --upgrade pip
When the install works, it prints a lot and takes a minute or two.
Successfully installed MarkupSafe-3.0.4 aiosqlite-0.22.1 ... sextant-ai-0.1.0 ... websockets-17.4Wall six: pip stops there. It does not say what to do next. The project's page does. For Sextant, the next line is:
.\.venv\Scripts\sextant.exePS C:\Users\you\sextant-install> .\.venv\Scripts\sextant.exe Sextant v0.1.0 -- self-hosted memory + orchestration for your AI sessions
You have installed your first GitHub project. Its own page takes over from here.
§10 · Paste with care, and save the screen
Wall seven: a project page showed a block of several lines, and the whole block was copied and pasted at once. PowerShell ran the lines one after another without stopping. The last line sat waiting for Enter. Paste one line at a time until you know what each line does. The Copy buttons on this page copy one line each.
Wall eight: one of those pasted lines ran the project's own tests, and the screen filled with red.
1 failed, 352 passed, 6 skipped, 12133 errorsWall nine: the first error is the one that matters, and it had scrolled out of reach. So run the line again with > install-log.txt on the end. In PowerShell, > sends everything a command prints into a file [17].
.\.venv\Scripts\python.exe -m pip install https://github.com/protechtus/sextant/archive/refs/heads/main.zip *> install-log.txtNothing appears on screen this time. The file install-log.txt is in your sextant-install folder. It replaces any older file of the same name without asking [17]. The file can hold a few extra lines that mention NativeCommandError, even when the install worked. PowerShell adds those. They are not the error.
Stuck? Open an issue on the project's GitHub page. Paste the line you typed and attach the file. Open the file in Notepad and read it first: it can show folder names and your Windows user name.
§11 · Every wall on one page
The words on your screen do not have to match exactly.
| What the screen says | What it means | What to do |
|---|---|---|
Cannot find command 'git' | The install line needs Git, and this window cannot find it [13]. | Use the "Without Git" line, or install Git and open a new window. |
A new release of pip is available | A notice about pip's own update [19]. | Nothing. It is not the error. |
Adjoined flag alias not found: '-id' | A typing slip. winget writes the option as --id, with two dashes [8]. | Type --id, or type winget install Git.Git. |
| "Not recognized", right after an install | The window is older than the install [3]. | Open a new window. |
| winget says it is already installed | The program is there. The window cannot find it. | New window, then §07. |
Successfully installed, then silence | pip is finished. It never says what comes next. | Read the project's page for the next line. |
| A pasted block ran by itself | Each line ran in turn. The last one waits for Enter. | Paste one line at a time. |
| Hundreds of red errors | Sometimes the project is at fault, not you. | Save the output with *> and send it [17]. |
| The first error scrolled away | The line that matters is above what you can see. | Run it again with *> install-log.txt. |
running scripts is disabled | Windows blocked a script file [12]. | Skip activating. Use the full .\.venv\Scripts\ lines [11]. |
requires a different Python | The private Python was made with an older Python than the project needs. | Install a newer Python (§05). In File Explorer, open sextant-install and rename the .venv folder to .venv-old. Open a new window and repeat §08. |
Sources
Every claim above points at one of these. They were checked on 2026-11-23. If one stops being true, this page will say so.
- 1.About GitHub and Git · what GitHub and Git arehttps://docs.github.com/en/get-started/start-your-journey/about-github-and-git
- 2.Using Python on Windows (3.12) · installer PATH box, py launcherhttps://docs.python.org/3.12/using/windows.html
- 3.Environment Variables · PATH lists, windows inherit themhttps://learn.microsoft.com/en-us/windows/win32/procthread/environment-variables
- 4.Installing Packages · pip on Windowshttps://packaging.python.org/en/latest/tutorials/installing-packages/
- 5.Install packages using pip and virtual environments · what a virtual environment ishttps://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/
- 6.Git: Install for Windows · Git download and winget linehttps://git-scm.com/install/windows
- 7.Git for Windows installer script · the PATH screen's three choiceshttps://raw.githubusercontent.com/git-for-windows/build-extra/main/installer/install.iss
- 8.winget install command · winget and its optionshttps://learn.microsoft.com/en-us/windows/package-manager/winget/install
- 9.Environment.SetEnvironmentVariable · saving a PATH for your accounthttps://learn.microsoft.com/en-us/dotnet/api/system.environment.setenvironmentvariable
- 10.setx · the 1,024 character limithttps://learn.microsoft.com/en-us/windows-server/administration/windows-commands/setx
- 11.venv: Creation of virtual environments · activation is optionalhttps://docs.python.org/3/library/venv.html
- 12.about_Execution_Policies · why script files are blockedhttps://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies
- 13.pip: VCS Support · git+https needs Githttps://pip.pypa.io/en/stable/topics/vcs-support/
- 14.Downloading source code archives · GitHub ZIP addresseshttps://docs.github.com/en/repositories/working-with-files/using-files/downloading-source-code-archives
- 15.pip install · installing from an archive addresshttps://pip.pypa.io/en/stable/cli/pip_install/
- 16.pip changelog · the new release noticehttps://pip.pypa.io/en/stable/news/
- 17.about_Redirection · sending output to a filehttps://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_redirection
- 18.Using Python on Windows (current) · the newer Python installerhttps://docs.python.org/3/using/windows.html
- 19.pip command reference · pip's check for a newer piphttps://pip.pypa.io/en/stable/cli/pip/
- The walls come from one real install on 2026-11-21, on one Windows laptop. Your screens can differ in small ways.
- The red error words in the panels are copied from real screens, not from vendor documentation. The causes are documented. The exact wording can change between versions.
- The commands were run on a Windows 10 computer with Windows PowerShell 5.1 on 2026-11-23. They were not tested on every Windows build. The winget install lines and the installers were not run that day, because the programs were already on that computer. What PowerShell itself prints (the red
mkdiranswer, theNativeCommandErrorlines in a saved file) was seen in that same run. The advice to keep the Git installer's other default answers comes from that same hands-on install, not from vendor documentation. - The winget name
Python.Python.3.12was checked on that computer with winget itself. We did not find it in the documentation we read. - We could not find a vendor page that gives the exact words winget prints when a program is already installed.
- The two download links on python.org were read on 2026-11-23, and that page changes. We did not test the newer Python install manager ourselves.
- Four pieces of advice come from experience, not from a page we could cite: the permission prompt when an installer starts, winget asking you to agree to its terms, deleting a PATH row to undo a change, and restarting the computer when a new window still cannot find a program.
- A space or a line break hiding at the end of a pasted PATH entry is our working explanation for "added but still not found". We found no vendor page that states it.
- The drawn windows are sketches. Titles and layout are simplified, and only the parts this page talks about are shown. The real windows have more on them.