temporarily clear imessage on mac
Hello! I am trying to download MacOS Monterey but i do not have enough storage on my Mac. My imessages take up the most space, is there a way that I can logout of my account and clear the messages to install Monterey, but then log back in and re-upload the imessages after? (assuming they stay in icloud because it is synced with my phone) Same idea as taking my email accounts off of mail, and then logging back in and my inbox syncs back up.
Thank you!!
MacBook Pro 13″, macOS 11.6