Install the client tools and sign in
Beams is a Teleport project and uses official Teleport client tools.
The client tools include tsh to sign in and run commands, and tctl to administer your cluster if you have permission.
Cluster: example.beams.run. Edit this example to use your cluster name.
Install version 18.11.10 of the client:
Download and open the macOS installer, then follow its instructions.
curl -O https://cdn.teleport.dev/teleport-tools-18.11.10.pkg
open teleport-tools-18.11.10.pkgFor Linux x86-64, download and install the client tools:
curl -O https://cdn.teleport.dev/teleport-v18.11.10-linux-amd64-bin.tar.gz
tar -xzf teleport-v18.11.10-linux-amd64-bin.tar.gz
sudo ./teleport/installFor Windows x86-64, run these commands in PowerShell. Add the extraction directory ($env:LOCALAPPDATA\Teleport) to your user PATH to use tsh in future terminals; the last command adds it to this terminal's PATH.
Invoke-WebRequest -Uri https://cdn.teleport.dev/teleport-v18.11.10-windows-amd64-bin.zip -OutFile teleport.zip
Expand-Archive -Path teleport.zip -DestinationPath "$env:LOCALAPPDATA\Teleport" -Force
$env:Path += ";$env:LOCALAPPDATA\Teleport"Follow the official client tools install guide for other versions and architectures.
Check that you’re running v18.11.10 of the client with tsh version.
tsh versionI sign in without a password (e.g. a passkey).
tsh login --proxy='example.beams.run' --auth=passwordlessI have a password & MFA set up for my account:
Replace you@example.com with your Teleport username.
tsh login --proxy='example.beams.run' --user=you@example.comI sign in with SSO (e.g. Okta, GitHub, SAML).
tsh login --proxy='example.beams.run'Create an ephemeral runtime
For model endpoints and evaluation limits, see Built-in inference.
tsh beams addA new beam gets an automatically generated name and connects your terminal to its shell. To create one without connecting, and receive structured output:
tsh beams add --no-console --format=jsonTo use an existing phase’s latest successful image:
tsh beams add --phase=<phase-name>The selected image remains fixed for that beam’s lifetime. Create a new beam to use a newer image.
List and connect
tsh beams lsConnect using the name returned by the listing:
tsh beams ssh <beam-name>Use the listing to find your beam’s name and expiry. Disconnecting with exit does not remove it. You can reconnect to a running beam, including its unsaved changes.
Execute a command
Run a command without opening an interactive shell:
tsh beams exec <beam-name> whoamiReplace <beam-name> with the actual name. Remote command execution still uses the beam’s delegated identity and permissions.
Transfer files
One argument must use the <beam-name>:<path> form. Copy a local file into the beam:
tsh beams scp ./example.txt <beam-name>:/home/beams/example.txtCopy a result back to your local machine:
tsh beams scp <beam-name>:/home/beams/output.csv ./output.csvRemove a beam
tsh beams rm <beam-name>Removal discards unsaved filesystem changes. Expiry also discards unsaved changes; it does not take a final snapshot. Check the resource limits for current capacity and lifetime limits.