Download and install, either via Homebrew, or from website.

For Brew,

brew install git-lfs

git lfs install

Often you will also need to do some setup on the service that hosts your remote to allow it to work with lfs. This will be different for each host, but will likely just be checking a box saying you want to use git lfs.