I've cloned a repository that was newly created by another person.
After running yarn install, seems like the CLI is still not installed and no instruction on how to install just the cli on the machine is given on https://docs.strapi.io/dev-docs/installation/cli
It assumes you already have the CLI installed, or I guess the cli is installed when you start a brand new project, which is not the case here.