A district judge ordered the teenager, Kenneth Platero, 16, to be held at the San Juan County Juvenile Detention Center.
Platero was arrested Oct. 2 for stabbing Steven Gutierrez, 59, at Angel Peak RV Park, 6181 U.S. 64, at 7:30 a.m.
Gutierrez was stabbed nine times with a 10-inch butcher knife in Gutierrez's trailer, San Juan County Sheriff's Office Lt. Cory Tanner said.
"It was the kind of knife you would cut a watermelon with," he said.
Gutierrez was convicted of a sex offense in San Juan County in 1996, according to a New Mexico sex offender registry website. It was not clear if his criminal history was relevant to the stabbing.
Platero fled the trailer park after the incident but was arrested about three hours later by the sheriff's office, police said.
The teen appeared in front of District Judge Sandra Price on Oct. 3. He is charged with two counts of aggravated battery with a deadly weapon.
Price said in court the victim was in a life-or-death situation and, therefore, Platero won't be released.
Platero is scheduled to appear in front of the judge for a preliminary hearing on Oct. 24.
It's not clear if Platero will be released before his trial. Judges never set a bond for juvenile inmates. However, sometimes juveniles are given conditions of release as they await trial, Assistant District Attorney Evan Cochnar said.
Gutierrez was taken to San Juan Regional Medical Center after the stabbing. The sheriff's office said he was stabbed nine times in the neck and body during the encounter and also was cut several times.
Gutierrez was originally listed in critical condition and doctors were skeptical he would survive the attack, Tanner said.
He no longer was a patient at the hospital Tuesday, hospital spokeswoman Kathryn Pettijohn said.
His current health condition was not known Tuesday but police believe he is OK.
Gutierrez and Platero were neighbors and the families were friends with each other, Tanner said.