ffmpeg -i input.wav output.flac

in case you care about high resolution:

ffmpeg -i input.wav -af aformat=s32:48000 output.flac