Ahmad Rahimi, also known as Rahami, hobbled into court looking pale and disoriented. The 28-year-old Elizabeth, NJ, resident also had several coughing fits during the routine proceeding.

“He enters a plea of not guilty on all counts,” his lawyer, Peggy Cross Goldenberg, told Judge Richard Berman.

Rahimi only said, “Yes sir” when the judge asked him if that was how he wanted to plead.

Prosecutors said they’re about to turn over to the defense a slew of evidence, including statements Rahimi made to the FBI, his bloodied journal found on him during his arrest, DNA and a “video montage” of his movements around Elizabeth, Penn Station and West 23 and 27th streets the day of the bombings.

Assistant US Attorney Nick Lewin floated a trial date in late winter or early spring, though one has not yet been set.

Goldenberg and Sabrina Shroff, who also represents Rahimi, had no comment after court.

Goldenberg told the judge that “Mr. Rahimi is in need of many medical services” but didn’t elaborate on his condition.