Guides
Helpful walkthroughs and notes from TechMess.
Check a downloaded file on Windows
Before opening an installer, make sure it came from the expected download page. If the publisher provides a SHA-256 checksum, you can compare it with the file on your computer.
## Download the file
Use the [Python download page](/downloads/python) as an example. Choose the file you intend to install and save it to your **Downloads** folder.
## Calculate its SHA-256 checksum
Open **PowerShell** and run this command, replacing the example path with the name of your downloaded file:
```powershell
Get-FileHash "$env:USERPROFILE\Downloads\python-installer.exe" -Algorithm SHA256
```
PowerShell prints a long hexadecimal value in the **Hash** column.
## Compare the result
Compare the value with the SHA-256 checksum published by the software author for that exact file and version. The values must match exactly. If the author does not publish a checksum, there is no checksum to compare; use the official download source and check that the filename and version are what you expected.
If the checksum differs, delete the file and download it again from the official source. Do not run a file whose checksum does not match.
Download and install Python on Windows
This guide installs Python from the TechMess downloads page and checks that Windows can run it.
## Download Python
Open the [Python download page](/downloads/python) and select the current Windows installer. For most modern Windows computers, choose the 64-bit installer if one is offered.
## Install Python
1. Open the downloaded installer from your **Downloads** folder.
2. On the first installer screen, tick **Add python.exe to PATH**.
3. Choose **Install Now** and approve the Windows prompt if it appears.
4. When setup finishes, close the installer.
## Check the installation
Open **PowerShell** and run:
```powershell
python --version
```
You should see a Python version number. If Windows says it cannot find Python, close and reopen PowerShell, then try `py --version`. If neither command works, run the installer again and make sure the PATH option is enabled.
Install GitHub Desktop on Windows
GitHub Desktop gives you a visual way to work with Git repositories. This guide covers downloading it and signing in.
## Download GitHub Desktop
Open the [GitHub Desktop download page](/downloads/github-desktop) and choose the Windows installer. If the page offers release files, select the Windows installer for your computer.
## Install it
1. Open the installer you downloaded. It is usually in your **Downloads** folder.
2. If Windows asks whether to allow the installer to make changes, check that the app is GitHub Desktop, then choose **Yes**.
3. Wait for setup to finish. GitHub Desktop should open automatically.
## Sign in
Choose **Sign in to GitHub.com** and follow the browser prompts. When it returns to GitHub Desktop, you can clone a repository or add one from your computer.
If you were given a repository URL, choose **File → Clone repository**, paste the URL, and choose where to save it.
Create an SSH key on Windows
An SSH key lets you sign in to a server without entering your account password each time. It has two files: a **private key** that stays on your computer, and a **public key** that you add to the server.
## 1. Open PowerShell
Open the Start menu, search for **PowerShell**, and launch it.
## 2. Create the key pair
Run:
```powershell
ssh-keygen -t ed25519 -C "your-email@example.com"
```
When asked where to save the key, press **Enter** to use the default location:
```text
C:\Users\YourName\.ssh\id_ed25519
```
When asked for a passphrase, enter one for extra protection, or press **Enter** to leave it empty.
## 3. Copy your public key
Run:
```powershell
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub | Set-Clipboard
```
This copies the **public** key to your clipboard. It is the file ending in `.pub`.
**Never share or upload `id_ed25519`**. That is your private key.
## 4. Add the key to your server
Sign in to the server using your current method, then run:
```bash
mkdir -p ~/.ssh
chmod 700 ~/.ssh
nano ~/.ssh/authorized_keys
```
Paste the public key on a new line, save the file, then set its permissions:
```bash
chmod 600 ~/.ssh/authorized_keys
```
In `nano`, save with **Ctrl+O**, press **Enter**, then exit with **Ctrl+X**.
## 5. Test the key
In PowerShell, replace `deploy` and the server address with your own:
```powershell
ssh deploy@your-server-address
```
If you created the key in a non-default location, specify it with `-i`:
```powershell
ssh -i "$env:USERPROFILE\.ssh\my_server_key" deploy@your-server-address
```
If it connects successfully, your SSH key is working.
[Github Desktop](/downloads.php?id=11)