42

How do I check on a Unix server what version of the Alpine mail client is installed?

I have root access in case that is needed.

bahamat
  • 5,646
  • 1
  • 26
  • 26
Devoted
  • 885
  • 3
  • 8
  • 13

3 Answers3

77

That works even without alpine installed (e.g. in Docker container):

$ cat /etc/alpine-release 
3.4.6
  • 9
    While this does answer _my_ question (and probably _yours_), this is how to check the _Alpine OS_ version, not the Text-based email client. ;) – kaiser Feb 12 '17 at 19:33
4

oh, just found it:

alpine -version
Devoted
  • 885
  • 3
  • 8
  • 13
3

You should be able to run the command alpine -v or alpine -version ... you can also start Alpine and press ? on the main menu to open the main Help page, which will also tell you the version.

If your system has a package manager that you used to install Alpine, you can also check with that. For example, on my Debian system, I'd run:

$ dpkg -l | grep alpine
ii  alpine      1.10+dfsg-3     Text-based email client, friendly for novices but powerful
quack quixote
  • 42,186
  • 14
  • 105
  • 129