Skip to content

Getting Started ​

LazyTeams is a fast, keyboard-driven Microsoft Teams client that runs entirely in the terminal. No Electron, no browser window required for daily messaging — just lightweight Go binaries (lazyteams and lazyteams-auth).

Latest release: v0.2.0 is published on GitHub Releases with prebuilt paired binaries and SHA256SUMS for Linux, macOS, and Windows. See Release History for full version notes.

Requirements ​

  • OS: Linux, macOS, or Windows (see Platform Support for validated vs. unvalidated platform details)
  • Go: 1.26.11+ (to compile from source)
  • Microsoft Teams account: university or enterprise (work/school) — personal accounts are not supported
  • Authentication browser:
    • Default (chromedp engine): a system-installed Chromium-family browser — Google Chrome, Chromium, Microsoft Edge, or Brave (version 120 or newer). LazyTeams talks directly to your installed browser over CDP with no Node.js driver and no silent browser download.
    • Optional (playwright engine, opt-in): Playwright with its Firefox browser cache if you prefer or need the legacy Playwright backend.

Installation ​

From prebuilt releases ​

Download the paired lazyteams and lazyteams-auth binaries for your platform from the GitHub Releases page, verify them against SHA256SUMS, and place both executables in the same directory on your PATH.

Building from source (main / v0.2.0) ​

Clone, build the TUI and the auth helper, and place both binaries in the same directory on your PATH:

bash
git clone https://github.com/agmonetti/lazyteams.git
cd lazyteams
make build VERSION=v0.2.0
mkdir -p ~/.local/bin
mv lazyteams lazyteams-auth ~/.local/bin/

Ensure ~/.local/bin is in your $PATH. Both lazyteams and lazyteams-auth must be installed side by side from the same version; the TUI resolves its companion lazyteams-auth next to its own executable path.

Note: Binaries built directly with plain go build (or make build without VERSION=...) report dev as their version. Use make build VERSION=v0.2.0 so ./lazyteams --version and ./lazyteams-auth --version report matching build versions.

Verify your detected browser and active authentication engine before signing in:

bash
lazyteams-auth --list-browsers

First-time setup ​

1. Grant Microsoft Graph permissions (one-time) ​

Before signing in for the first time, grant permissions via Graph Explorer:

  1. Sign in with your Microsoft/organizational account.
  2. Go to the Modify permissions tab.
  3. Enable each permission below.
PermissionPurpose
User.ReadRead your profile
User.Read.AllSearch users for DMs, @mentions, member management
Team.ReadBasic.AllList your teams
Channel.ReadBasic.AllList channels
Chat.ReadBasicRead chat names and members
GroupMember.Read.AllRead team members
Team.Create(Optional) Create teams (N)
Presence.Read.AllRead presence status
Presence.ReadWriteSet your presence
Files.ReadWrite.AllAccess and upload files
Sites.Read.AllAccess SharePoint sites (Class Materials, etc.)

Note: Some organizations (e.g. universities) restrict which permissions users can consent to. If Chat.ReadBasic shows "Need admin approval", contact your IT administrator.

2. Launch LazyTeams and sign in with Ctrl+L ​

Start the TUI directly:

bash
lazyteams

When no session or tokens exist yet, LazyTeams launches into the TUI without exiting and displays:

● Not signed in — press [Ctrl+L] to sign in
  1. Press Ctrl+L to open the Authentication popup.
  2. Select Sign in / Re-authenticate (visible browser) and press Enter.
  3. LazyTeams launches lazyteams-auth using your active engine (chromedp by default) and opens a visible browser window using an isolated profile under ~/.config/lazyteams/sessions/.
  4. Complete your institutional SSO sign-in and MFA prompts in that browser window.
  5. lazyteams-auth captures the required tokens automatically, saves them to ~/.config/lazyteams/tokens.env (0600), and closes the browser. The TUI reloads your credentials immediately and populates your workspaces.

You can also run lazyteams-auth directly from a terminal before launching lazyteams if you prefer standalone capture.

Auth process demo (v0.1.x reference) ​

The clip below shows the browser login and automatic token capture concept (recorded on v0.1.x with Playwright; in v0.2.0 the flow can be triggered directly from Ctrl+L and defaults to chromedp):

A signed-in session looks like this:

LazyTeams main interface after login showing authenticated Teams and channels workspace

If you see an error like:

HTTP 403: Missing scope permissions on Chat. API requires one of 'Chat.ReadBasic, Chat.Read, Chat.ReadWrite'

re-check the permissions in step 1 and make sure Chat.ReadBasic has been consented.

See it in action ​

LazyTeams terminal UI interactive demonstration showing fast message navigation and replies

CLI reference ​

lazyteams ​

CommandDescription
lazyteamsStart the TUI
lazyteams --engine <chromedp|playwright>Temporarily override the auth engine for this session (does not edit prefs.json)
lazyteams --browser <name>Temporarily override browser (auto, chrome, chromium, edge, brave, firefox)
lazyteams --browser-path <path>Temporarily override browser executable path
lazyteams --debugStart the TUI with diagnostic mode enabled
lazyteams --updateCheck for and install the latest published release (TUI + auth helper)
lazyteams --version / -vShow the build version
lazyteams --help / -hShow usage, auth commands, and config paths

lazyteams-auth ​

CommandDescription
lazyteams-authFull token capture (chromedp default)
lazyteams-auth --engine <chromedp|playwright>Select auth engine for this run (chromedp default, playwright opt-in)
lazyteams-auth --browser <name>Select browser (auto, chrome, chromium, edge, brave, firefox)
lazyteams-auth --browser-path <path>Explicit browser executable path
lazyteams-auth --list-browsersShow config dir, active engine (and source), discovered Chromium browsers, and Playwright Firefox availability
lazyteams-auth --renew graphRenew MS Graph token (headless first)
lazyteams-auth --renew webRenew Teams Web token (headless)
lazyteams-auth --renew eduRenew EDU/Assignments token (headless)
lazyteams-auth --renew notifRenew Notifications token (headless)
lazyteams-auth --renew fabricFabric token capture (currently disabled — Stage 7B closed)
lazyteams-auth --showForce browser visible
lazyteams-auth --headlessForce headless mode
lazyteams-auth --debugEnable detailed diagnostic output (written to auth-helper.log when launched from the TUI)
lazyteams-auth --version / -vShow the build version
lazyteams-auth --clear-sessionDelete the isolated browser session for the active engine
lazyteams-auth --clear-tokensDelete saved tokens

--clear-session and --clear-tokens can be combined: lazyteams-auth --clear-session --clear-tokens resets tokens and the active engine's browser profile.

Next steps ​