TRAMP is included as part of Emacs (since Emacs 22.1).
TRAMP is also freely packaged for download on the Internet at
https://ftp.gnu.org/gnu/tramp/. The version number of
TRAMP can be obtained by the variable
For released TRAMP versions, this is a three-number string
A TRAMP release, which is packaged with Emacs, could differ slightly from the corresponding standalone release. This is because it isn’t always possible to synchronize release dates between Emacs and TRAMP. Such version numbers have the Emacs version number as suffix, like “188.8.131.52.2”. This means TRAMP 2.4.5 as integrated in Emacs 27.2. A complete list of TRAMP versions packaged with Emacs can be retrieved by
(assoc 'Tramp customize-package-emacs-version-alist)
TRAMP is also available as GNU ELPA package. Besides the standalone releases, further minor versions of TRAMP will appear on GNU ELPA, until the next TRAMP release appears. These minor versions have a four-number string, like “184.108.40.206”.
TRAMP development versions are available on Git servers. Development versions contain new and incomplete features. The development version of TRAMP is always the version number of the next release, plus the suffix “-pre”, like “2.4.4-pre”.
One way to obtain TRAMP from the Git server is to visit the Savannah project page at the following URL and then clicking on the Git link in the navigation bar at the top.
Another way is to follow the terminal session below:
$ cd ~/emacs $ git clone git://git.savannah.gnu.org/tramp.git
From behind a proxy:
$ git config --global http.proxy http://user:firstname.lastname@example.org:8080 $ git clone https://git.savannah.gnu.org/r/tramp.git
$ git clone email@example.com:/srv/git/tramp.git
After one of the above commands, ~/emacs/tramp will containing the latest version of TRAMP.
To fetch updates from the repository, use
$ cd ~/emacs/tramp $ git pull
autoconf as follows to generate an up-to-date
$ cd ~/emacs/tramp $ autoconf
See the file INSTALL in that directory for further information on how to install TRAMP.