CS50 Sandbox

temporary programming environments for students and teachers

with support for these environments

  • Bash, using bash
  • C, using clang or gcc
  • C++, using clang++ or g++
  • Flask, using flask
  • HTML, using http-server
  • Java, using javac and java
  • Node.js, using node
  • OCaml, using ocaml
  • PHP, using php
  • Python , using python, python2 or python3
  • R, using R
  • Ruby, using ruby
  • SQLite, using sqlite3

Environments are based on cs50/sandbox, which is based on Ubuntu 18.04. Email sysadmins@cs50.harvard.edu to request others.

Empty file(s) to create and open in tabs, one per line. You can also create (empty or non-empty) files later via terminal window, text editor, or upload.
For example, pip install fortune. Can also be a multi-line Bash script.
For example, python, to replace shell with interpreter. Default is bash.
Link to this URL to create this sandbox when clicked, without creating your own first.