How long will shredded carrots keep?
According to the website StillTasty, fresh, raw whole or cut up carrots will last 2 to 3 weeks in the fridge.

I would think that it would be a shorter time (1 week) for shredded carrots.  I'd store them in a container with a tight sealing lid, or in a plastic bag with the air squeezed out.