Linux Mint install kernel from terminal and load kernel

How do you install linux mint kernels in the terminal and then load the kernel in terminal?

I’m using cubic to make custom installers, but I need to upgrade the kernel without rebooting.