Securing Infrastructure Access at Scale in Large Enterprises
Dec 12
Virtual
Register Now
Teleport logoTry For Free
Background image
Community Edition

Installing Teleport from Source

How to build Teleport Community Edition from source. The easiest, most secure way to access all your infrastructure.

Make sure you have Golang v1.17 or newer, then run:

Terminal
# get the source and build
$ mkdir -p $GOPATH/src/github.com/gravitational
$ cd $GOPATH/src/github.com/gravitational
$ git clone https://github.com/gravitational/teleport.git

# create the default data directory:

$ sudo mkdir -p /var/lib/teleport
$ sudo chown $USER /var/lib/teleport

# build:
$ cd teleport
$ make full
If the build succeeds the binaries will be placed in $GOPATH/src/github.com/gravitational/teleport/build
OTHER USEFUL MAKE TARGETS
Terminal
# build using Docker. in this case golang is not required:
$ make -C build.assets full

# generate release tarball using Docker:
$ make -C build.assets release