GitHub Codespaces

Using GitHub Codespaces with an exercise is experimental for now. The ability to use GitHub Codespaces for exercises could be revoked at any point.

Updating CMake

The cmake in GitHub Codespaces is out of date. You cannot install packages in GitHub Codespaces, nor even install to /usr/local/bin.

The solution is to first download and extract CMake, and put it on your path where the o.s. looks for commands:

Now, close this terminal and open a new one. You should have a very recent version of cmake: