Welcome @Cromulent,
Alfred 5 is a new download, which you can get at https://www.alfredapp.com. Open it and the Migration Assistant will guide you through the process. When you’re done, you can delete Alfred 4 by dragging it to the Trash (avoid using app cleaners, as those tend to be overzealous and might delete settings necessary for Alfred 5).