Lithuania is a pretty safe country to visit in general, so Vilnius is relatively safe to walk around at night. You’re always better off staying in a group than being on your own at night no matter where you are, and try and stick to well-lit areas if possible so that help is likely to be nearby if needed. But as long as you use common sense, you’ll be fine.