Normally, CS50 IDE requires a constant connection to the internet. This may not fit users with slow or unstable internet connections, or those who want to continue using the IDE offline for any number of reasons. The following instructions walk you through how to download and install the offline version of CS50 IDE. Please note that the new offline IDE may be quite a large download (several GB).
Instead of using Docker commands to manage your IDE, you may use
ide50, a command-line script that facilitates using CS50 IDE Offline. To install
ide50, open up your command prompt or terminal app and run the following command:
pip3 install ide50
ide50 -h to verify that the installation was successful and see usage information.
Starting Your IDE
Once you have installed Docker and
ide50, you can start your IDE by opening up your command prompt or terminal app, and running the following command:
Stopping your IDE
To stop your IDE, open up your command prompt or terminal app and run the following command:
Updating Your IDE
Unlike the online version of CS50 IDE, the offline version needs to be manually updated. To update your IDE, open up your command prompt or terminal app and run:
Checking the Status of Your IDE
To check whether or not your IDE is running, open up your command prompt or terminal app and run:
Where to Go Next?
Read up on on how to use CS50 IDE itself!