Without more details, I assume standard PCR as application. I would start by cutting the fasta into equal (and maybe overlapping) chunks representing the amplicons you want, e.g. using shred.sh from BBmap, see command-line tool to split genome FASTA into equal chunks?, and then use the command line version of Primer3 to design the primers. Manual for primer3 is also on Github, with plenty of options to customize your search.
Funnily enough, I just started writing something to do exactly this yesterday. It's still a work in progress, but so far is has the basic functionality of reading in a selection of fasta target sequences, and giving back primers that span either end of the sequence of a defined length.
Primer3 etc are much more mature though, so you might want to try them.