It is an adverb that means "as much as possible". It is used when describing situations in which you try to do something as much as you can.
健康の為、一日置きにジムに行き、なるべくバランスのとれた食事をとる。
- Amy : What time will you go to the restaurant?
何時にお店に行く? - Meg : I'll get off work at 6 so I'll be right over.
6時に会社を出て、向かうね。 - Amy : Okay. Please come as soon as possible.
わかった。なるべく早く来てね。
- Meg : The temperature in this room is too hot, isn't it?
この部屋、暑過ぎない? - Amy : I'm trying to use the air conditioner as little as possible to avoid feeling cold.
体が冷えないように、なるべくエアコンを使わないようにしているの。