# 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.

Guide 36 of the Protechtus publication. Category: Getting started. Last verified: 2026-11-23 (checked against primary sources through the studio's research library, report RES-4398). Web: https://protechtus.com/guide-first-github-project.html. Printable: https://protechtus.com/guide-first-github-project-print.html

## §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.

> **One caution:** 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 `powershell` and 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:

```screen bad: Right after an install, in the window you already had open | fix: Nothing is broken. Close PowerShell, open a new window from the Start menu, and type the line again. | shot: git-not-recognized-old-window.png
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.

```cmd: Make this window read the PATH again
$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].

```cmd: Is Python here?
py --list
```

```screen good: A list with at least one version | shot: py-list-good.png
PS 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.

```cmd: Is Git here?
git --version
```

```screen good: Git answers with its version | shot: git-version-good.png
PS 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](https://www.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.

```dialog good: The box to tick on the first screen | shot: python-installer-path-box.png
title: Python Setup
Install Now
[x] Add python.exe to PATH
-> Tick this box first, then click Install Now.
buttons: *Install Now | Cancel
```

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.

```cmd: Install Python with winget
winget install Python.Python.3.12
```

When 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](https://git-scm.com/install/windows) and open the file [6]. It asks many questions. Keep clicking Next. One screen matters:

```dialog good: The Git screen that decides the PATH | shot: git-installer-path-page.png
title: Git Setup
Adjusting your PATH environment
How would you like to use Git from the command line?
( ) Use Git from Git Bash only
(o) Git from the command line and also from 3rd-party software
( ) Use Git and optional Unix tools from the Command Prompt
-> Leave it on the middle choice. It is marked Recommended.
buttons: Back | *Next | Cancel
```

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.**

```cmd: Install Git with winget
winget install Git.Git
```

The 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.

```screen bad: One dash instead of two | fix: Type two dashes, `--id`. Or leave the extras off and type `winget install Git.Git`. Your winget may word the complaint differently. | shot: winget-one-dash.png
PS C:\Users\you> winget install -id Git.Git -e
!! Adjoined flag alias not found: '-id'
```

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`.

```cmd: Where did Git go?
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.**

1. **Open the list.** Press Start, type `environment`, and choose "Edit environment variables for your account" [2, 18].
2. **Open Path.** In the top list, click `Path`, then click Edit.
3. **Add the folder.** Click New and type the folder, without `\git.exe` at the end.
4. **Save.** Click OK twice. Then open a new PowerShell window.

```dialog good: The new row, with nothing after the last letter | shot: env-vars-edit-path.png
title: Edit environment variable
>> C:\Program Files\Git\cmd
buttons: *New | Edit | OK | Cancel
```

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.

```cmd: Add the folder to your own PATH list
$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.

> **Skip setx for this:** 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.

```cmd: A folder for the project, and a private Python inside it
cd $HOME
mkdir sextant-install
cd sextant-install
py -3 -m venv .venv
```

```screen good: What mkdir prints. The other three lines print nothing. | shot: mkdir-good.png
PS 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:

```screen bad: Trying to activate | fix: You do not need to activate. Use the full `.\.venv\Scripts\...` lines on this page instead [11]. | shot: activate-scripts-disabled.png
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.
```

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.

```cmd: Without Git
.\.venv\Scripts\python.exe -m pip install https://github.com/protechtus/sextant/archive/refs/heads/main.zip
```

GitHub 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.

```cmd: With Git
.\.venv\Scripts\python.exe -m pip install git+https://github.com/protechtus/sextant
```

pip'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:

```screen bad: The install line needs Git, and this window cannot find Git | fix: Use the "Without Git" line above. Or install Git (§06), open a **new** window, type `cd $HOME\sextant-install`, and run the line again. | shot: pip-cannot-find-git.png
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?
```

Wall two sat on the same screen and looked like the cause. It was not.

```screen info: A notice, not an error | fix: Nothing. pip looks now and then for a newer pip and tells you when it finds one [16, 19]. Updating pip does not fix the line above. | shot: pip-notice.png
?? [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.

```screen good: The line to look for, near the end, shortened here | shot: pip-success.png
Successfully installed MarkupSafe-3.0.4 aiosqlite-0.22.1 ... sextant-ai-0.1.0 ... websockets-17.4
```

Wall six: pip stops there. It does not say what to do next. The project's page does. For Sextant, the next line is:

```cmd: Run it once to see that it is there
.\.venv\Scripts\sextant.exe
```

```screen good: The first line it prints | shot: sextant-first-run.png
PS 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.

```screen bad: A wall of red that was not the reader's fault | fix: Do not start over. Save the whole output to a file (below) and send it to the project. This one was a fault in the project, fixed the same day. | shot: tests-wall-of-red.png
!! 1 failed, 352 passed, 6 skipped, 12133 errors
```

Wall 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].

```cmd: The same install line, saved to a file
.\.venv\Scripts\python.exe -m pip install https://github.com/protechtus/sextant/archive/refs/heads/main.zip *> install-log.txt
```

Nothing 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. |

*** Wallet card: When a program is "not recognized" | Open a new PowerShell window and try again. | Still missing? Check that it is installed. | Installed but not found? Add its folder to your PATH (§07). | Save a long error with *> install-log.txt.

## Sources

1. [About GitHub and Git](https://docs.github.com/en/get-started/start-your-journey/about-github-and-git) -- what GitHub and Git are
2. [Using Python on Windows (3.12)](https://docs.python.org/3.12/using/windows.html) -- installer PATH box, py launcher
3. [Environment Variables](https://learn.microsoft.com/en-us/windows/win32/procthread/environment-variables) -- PATH lists, windows inherit them
4. [Installing Packages](https://packaging.python.org/en/latest/tutorials/installing-packages/) -- pip on Windows
5. [Install packages using pip and virtual environments](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/) -- what a virtual environment is
6. [Git: Install for Windows](https://git-scm.com/install/windows) -- Git download and winget line
7. [Git for Windows installer script](https://raw.githubusercontent.com/git-for-windows/build-extra/main/installer/install.iss) -- the PATH screen's three choices
8. [winget install command](https://learn.microsoft.com/en-us/windows/package-manager/winget/install) -- winget and its options
9. [Environment.SetEnvironmentVariable](https://learn.microsoft.com/en-us/dotnet/api/system.environment.setenvironmentvariable) -- saving a PATH for your account
10. [setx](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/setx) -- the 1,024 character limit
11. [venv: Creation of virtual environments](https://docs.python.org/3/library/venv.html) -- activation is optional
12. [about_Execution_Policies](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies) -- why script files are blocked
13. [pip: VCS Support](https://pip.pypa.io/en/stable/topics/vcs-support/) -- git+https needs Git
14. [Downloading source code archives](https://docs.github.com/en/repositories/working-with-files/using-files/downloading-source-code-archives) -- GitHub ZIP addresses
15. [pip install](https://pip.pypa.io/en/stable/cli/pip_install/) -- installing from an archive address
16. [pip changelog](https://pip.pypa.io/en/stable/news/) -- the new release notice
17. [about_Redirection](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_redirection) -- sending output to a file
18. [Using Python on Windows (current)](https://docs.python.org/3/using/windows.html) -- the newer Python installer
19. [pip command reference](https://pip.pypa.io/en/stable/cli/pip/) -- pip's check for a newer pip

## What we could not confirm

- 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 `mkdir` answer, the `NativeCommandError` lines 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.12` was 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.
