Next: Emacs on Mac OS, Up: Installing [Index]
To check your Emacs’ version from the shell, type:
emacs --version
GNU Emacs 28.0.50 Copyright (C) 2021 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.
The version can be checked from within Emacs, using:
M-x emacs-version ; or M-x version ; an alias for 'emacs-version'
Return string describing the version of Emacs that is running.
If optional argument HERE is non-nil, insert string at point.
(print (emacs-version))
"GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H1323)) of 2021-08-11"
To check the system configuration, refer to the value of ‘system-configuration’.
Value is string indicating configuration Emacs was built for.
Use this variable in programs to choose actions according to the system configuration.
system-configuration
x86_64-apple-darwin19.6.0