Executing console command when starting editor

I know I can execute console commands in blueprint during game start for example.

But if I want to execute few console commands so I don’t need to type them every time loading editor , is there a way to do it?

Maybe check this out: Running Blueprints at Editor Startup | Unreal Engine Documentation

Or this: Inject Python Startup Script