Installation Guide for Windows
This guide will walk you through installing the software you need for Web Development class on a Windows computer.
What You'll Install
- Phoenix Code - Your code editor for writing HTML, CSS, and JavaScript
- Git - Version control software for tracking changes and publishing to GitHub
Installing Phoenix Code
Step 1: Download Phoenix Code
- Go to https://phcode.dev/
- Click the Download button for Windows
- The installer file will download (usually to your Downloads folder)
Step 2: Run the Installer
- Locate the downloaded file (likely named something like
PhoenixCode-Setup.exe) - Double-click the installer file
- If Windows asks "Do you want to allow this app to make changes to your device?", click Yes
- Follow the installation wizard:
- Accept the license agreement
- Choose the default installation location (recommended)
- Keep the default options selected
- Click Install
- Wait for the installation to complete
- Click Finish
Step 3: Launch Phoenix Code
- Phoenix Code should open automatically after installation
- If not, find it in your Start Menu and click to open
- You may see a security warning the first time - click Run to continue
You're done installing Phoenix Code!
Installing Git
Step 1: Download Git
- Go to https://git-scm.com/downloads
- Click Download for Windows
- The installer will download automatically
Step 2: Run the Git Installer
- Locate the downloaded file (likely named something like
Git-2.xx.x-64-bit.exe) - Double-click the installer file
- If Windows asks for permission, click Yes
Step 3: Installation Options
The Git installer will ask you many questions. Here are the recommended settings:
Information page:
- Click Next
Select Destination Location:
- Keep the default location
- Click Next
Select Components:
- Keep all default options checked
- Click Next
Select Start Menu Folder:
- Keep the default
- Click Next
Choosing the default editor used by Git:
- Select your preference (you can leave it as the default)
- Click Next
Adjusting the name of the initial branch in new repositories:
- Select "Let Git decide"
- Click Next
Adjusting your PATH environment:
- Select "Git from the command line and also from 3rd-party software" (should be selected by default)
- Click Next
Choosing the SSH executable:
- Select "Use bundled OpenSSH"
- Click Next
Choosing HTTPS transport backend:
- Select "Use the OpenSSL library"
- Click Next
Configuring the line ending conversions:
- Select "Checkout Windows-style, commit Unix-style line endings" (default)
- Click Next
Configuring the terminal emulator to use with Git Bash:
- Select "Use MinTTY" (default)
- Click Next
Choose the default behavior of 'git pull':
- Select "Default (fast-forward or merge)"
- Click Next
Choose a credential helper:
- Select "Git Credential Manager"
- Click Next
Configuring extra options:
- Keep defaults checked
- Click Next
Configuring experimental options:
- Leave unchecked
- Click Install
Step 4: Complete Installation
- Wait for installation to complete
- Click Finish
Step 5: Verify Git is Installed
- Press Windows key + R
- Type
cmdand press Enter - In the command prompt window, type:
git --version - Press Enter
- You should see something like
git version 2.xx.x
If you see the version number, Git is installed correctly!
Setting Up SSH Keys for GitHub
SSH keys allow you to connect to GitHub securely without entering your password every time. We'll set this up together in class, but here are the steps:
Step 1: Open Git Bash
- Press the Windows key and search for "Git Bash"
- Click to open Git Bash (this is a terminal program installed with Git)
Step 2: Generate an SSH Key
- In Git Bash, type the following command (replace
your.email@example.comwith your actual email address):ssh-keygen -t ed25519 -C "your.email@example.com" - Press Enter
- When asked "Enter a file in which to save the key," just press Enter to accept the default location
- When asked for a passphrase, press Enter twice to have no passphrase
Your SSH key has been created!
Step 3: Start the SSH Agent
- In Git Bash, type:
eval "$(ssh-agent -s)" - Press Enter
- You should see something like
Agent pid 1234
Step 4: Add Your SSH Key to the Agent
- In Git Bash, type:
ssh-add ~/.ssh/id_ed25519 - Press Enter
Step 5: Copy Your Public Key
- In Git Bash, type:
cat ~/.ssh/id_ed25519.pub - Press Enter
- You'll see your public key displayed (it starts with
ssh-ed25519and ends with your email) - Carefully select and copy all of this text (right-click in Git Bash and select Copy, or use Ctrl+Insert)
Step 6: Add SSH Key to GitHub
- Go to GitHub.com and log in
- Click your profile picture in the top-right corner
- Select Settings
- In the left sidebar, click SSH and GPG keys
- Click the green New SSH key button
- Give your key a title (like "School Laptop" or "Home Computer")
- In the "Key" field, paste your public key (Ctrl+V)
- Click Add SSH key
- If prompted, enter your GitHub password to confirm
Step 7: Test Your SSH Connection
- Back in Git Bash, type:
ssh -T git@github.com - Press Enter
- You may see a warning asking "Are you sure you want to continue connecting?" - Type
yesand press Enter - If successful, you'll see a message like:
Hi username! You've successfully authenticated...
You're now set up to use SSH with GitHub!
Next Steps
You're all set! In class, we'll:
- Configure Git with your name and email (if not done already)
- Review your SSH key setup
- Create your first project
If you have any problems with installation, let your teacher know in class.
Troubleshooting
Phoenix Code won't open:
- Right-click the Phoenix Code icon and select "Run as administrator"
- Check if Windows Defender or antivirus is blocking it
Git command not found:
- Restart your computer and try the verification step again
- Make sure you selected the correct PATH option during installation
Installation failed:
- Make sure you have administrator privileges on your computer
- Try downloading the installer again (the download may have been corrupted)
- Ask your teacher for help in class
SSH key issues:
- If
ssh-keygencommand not found: Make sure Git is installed and restart Git Bash - If "Permission denied" when testing connection: Check that you copied the entire public key correctly
- If SSH test fails: Make sure you added the key to GitHub and that you're using the SSH URL (not HTTPS) when cloning repositories