There are lots of good microphones for recording acoustic violin! What’s your budget look like? I imagine you’re looking for something 100-200$ range that is easy to set up and record into the computer?
My next question is if you have a good recording area; You won’t want your recording sounding like you were playing the violin in the shower, after all! (An exaggeration, but you get the idea).