Install package from console / configuration script?

Hi, is it possible to install a package from the console or a config script?

I’m trying to create a config script to quickly reconfigure the router, and I need to install the NTP package in order to use the NTP server.

I’ve not find any info on how to download / install / update packages via the console or script.
Is it possible?

Thanks
P.