How can I update cb1 to latest kernel in terminal

I want to know if I get update the image of the cb1 to the latest image via terminal on the Mac .