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
SHA256SUMSfor Linux, macOS, and Windows. See Release History for full version notes.
Quick Links
- Features
- Keyboard Shortcuts
- Configuration (auth engines, preferences & persistence)
- Platform Support
- Troubleshooting
- FAQ
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 (
chromedpengine): 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 (
playwrightengine, opt-in): Playwright with its Firefox browser cache if you prefer or need the legacy Playwright backend.
- Default (
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:
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(ormake buildwithoutVERSION=...) reportdevas their version. Usemake build VERSION=v0.2.0so./lazyteams --versionand./lazyteams-auth --versionreport matching build versions.
Verify your detected browser and active authentication engine before signing in:
lazyteams-auth --list-browsersFirst-time setup
1. Grant Microsoft Graph permissions (one-time)
Before signing in for the first time, grant permissions via Graph Explorer:
- Sign in with your Microsoft/organizational account.
- Go to the Modify permissions tab.
- Enable each permission below.
| Permission | Purpose |
|---|---|
User.Read | Read your profile |
User.Read.All | Search users for DMs, @mentions, member management |
Team.ReadBasic.All | List your teams |
Channel.ReadBasic.All | List channels |
Chat.ReadBasic | Read chat names and members |
GroupMember.Read.All | Read team members |
Team.Create | (Optional) Create teams (N) |
Presence.Read.All | Read presence status |
Presence.ReadWrite | Set your presence |
Files.ReadWrite.All | Access and upload files |
Sites.Read.All | Access SharePoint sites (Class Materials, etc.) |
Note: Some organizations (e.g. universities) restrict which permissions users can consent to. If
Chat.ReadBasicshows "Need admin approval", contact your IT administrator.
2. Launch LazyTeams and sign in with Ctrl+L
Start the TUI directly:
lazyteamsWhen no session or tokens exist yet, LazyTeams launches into the TUI without exiting and displays:
● Not signed in — press [Ctrl+L] to sign in- Press
Ctrl+Lto open the Authentication popup. - Select
Sign in / Re-authenticate (visible browser)and pressEnter. - LazyTeams launches
lazyteams-authusing your active engine (chromedpby default) and opens a visible browser window using an isolated profile under~/.config/lazyteams/sessions/. - Complete your institutional SSO sign-in and MFA prompts in that browser window.
lazyteams-authcaptures 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-authdirectly from a terminal before launchinglazyteamsif 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:

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

CLI reference
lazyteams
| Command | Description |
|---|---|
lazyteams | Start 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 --debug | Start the TUI with diagnostic mode enabled |
lazyteams --update | Check for and install the latest published release (TUI + auth helper) |
lazyteams --version / -v | Show the build version |
lazyteams --help / -h | Show usage, auth commands, and config paths |
lazyteams-auth
| Command | Description |
|---|---|
lazyteams-auth | Full 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-browsers | Show config dir, active engine (and source), discovered Chromium browsers, and Playwright Firefox availability |
lazyteams-auth --renew graph | Renew MS Graph token (headless first) |
lazyteams-auth --renew web | Renew Teams Web token (headless) |
lazyteams-auth --renew edu | Renew EDU/Assignments token (headless) |
lazyteams-auth --renew notif | Renew Notifications token (headless) |
lazyteams-auth --renew fabric | Fabric token capture (currently disabled — Stage 7B closed) |
lazyteams-auth --show | Force browser visible |
lazyteams-auth --headless | Force headless mode |
lazyteams-auth --debug | Enable detailed diagnostic output (written to auth-helper.log when launched from the TUI) |
lazyteams-auth --version / -v | Show the build version |
lazyteams-auth --clear-session | Delete the isolated browser session for the active engine |
lazyteams-auth --clear-tokens | Delete 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
- Explore what the app can do: Features
- Learn every keybinding: Keyboard Shortcuts
- Understand engines,
Ctrl+L, precedence, renewal, and persisted files: Configuration - Check OS-specific browser and clipboard details: Platform Support
- Something not working? Check Troubleshooting
- Have a question first? See the FAQ