Package project from outside unreal editor

Is there a way to package a project from outside the editor? It’s using too much ram if i have the editor open and also try to package at the same time and i can’t get it to package the project. I’m building lighting from outside the editor so there must be a way to package also right?

Thanks!

*sorry for posting here. It’s hard to get a response on the arch viz section of the forums.