Getting started

Log into cs50.dev, click on your terminal window, and execute cd by itself. You should find that your terminal window’s prompt resembles the below:

$

Next execute

wget https://cdn.cs50.net/hls/2025/winter/labs/1/lab1.zip

in order to download a ZIP called lab1.zip into your codespace.

Then execute

unzip lab1.zip

to create a folder called lab1. You no longer need the ZIP file, so you can execute

rm lab1.zip

and respond with “y” followed by Enter at the prompt to remove the ZIP file you downloaded. Now, type

cd lab1

followed by Enter to move yourself into (i.e., open) that directory. Your prompt should now resemble the below.

lab1/ $

Now, execute

pip3 install -r requirements.txt

to install the OpenAI library and other dependencies