CLI commands

Overview of Tessl's CLI commands for managing tiles, workspaces, and authentication.

The Tessl CLI provides commands for managing tiles, workspaces, authentication, and project configuration. This page provides a comprehensive reference for all available commands.

Getting started

tessl help

To see all available commands, run:

tessl --help

To get detailed information about a specific command or command group, use the --help flag:

tessl <command> --help
tessl <command-group> <subcommand> --help

Authentication

tessl login

Authenticate with Tessl using the WorkOS device flow.

Usage

tessl login

Alternative

tessl logout

Sign out and clear authentication credentials.

Usage

Alternative

tessl whoami

Show current authenticated user information.

Usage

Alternative

tessl auth token

Generate a new Tessl API key for programmatic access.

Usage

Flags

  • --expiry-date (string, optional): Expiration date for the API key in YYYY-MM-DD format (e.g., 2025-10-05)

Examples


Setup and initialization

tessl init

Authenticate and sync dependencies, optionally configure MCP client integration with coding agents.

Usage

Flags

  • --agent (string, optional): Configure coding agent integration. Supported values: cursor, claude-code. Can specify multiple agents.

    • See Custom Agents for information on configuring additional agents.

  • --project-dependencies (string, optional): Configure project dependencies mode. Options: install (default), skip, ask

Notes

  • Configures MCP server settings for AI coding agents

  • Automatically syncs project dependencies when configured

Examples


Project dependencies

tessl install

Install tiles into your project. Tiles are usage specifications that help AI understand how to use libraries and frameworks.

Usage

Arguments

  • tile (string, required): One or more tile names in the format workspace/tile[@version]. If version is omitted, the latest version will be installed.

Flags

  • --project-dependencies (boolean, optional): Scan and sync project dependencies with registry tiles

  • --yes (boolean, optional): Automatically accept all installations (use with --project-dependencies)

Notes

  • Tiles are installed to .tessl/tiles/<workspace>/<tile>/ in your project

  • Your project's tessl.json is automatically updated with the tile reference

  • If a tile is already installed and up-to-date, it will be skipped

Examples

Search for tiles in the Tessl registry by name, PURL, or HTTP URL.

Usage

Arguments

  • query (string, optional): Search query. If omitted, you'll be prompted interactively.

Examples

tessl uninstall

Uninstall tiles from your project.

Usage

Arguments

  • name (string, required): Full tile name in the format workspace/tile

Notes

  • Removes the tile from tessl.json and deletes files from .tessl/tiles/

  • Does not require authentication (local operation only)

Examples


Tile management

tessl tile lint

Validate tile structure and contents

Usage

Arguments

  • source (string): Path to the tile directory to lint.

tessl tile pack

Package a tile into a .tgz file

Usage

Arguments

  • source (string): Path to the tile directory to publish.

  • output (string, optional): Path for the .tgz file that is generated. If omitted, uses the tile name and version to create a file in your current directrory.

tessl tile publish

Publish tiles to the Tessl registry.

Usage

Arguments

  • path (string): Path to the tile directory to publish.

Examples

tessl tile unpublish

Unpublish tiles from the registry.

Usage

Flags

  • --tile (string): Tile to unpublish in the format workspace/tile@version

Notes

  • Only available within 2 hours of publishing

Examples

tessl tile archive

Archive tiles in the registry.

Usage

Flags

  • --tile (string, optional): Tile to archive in the format workspace/tile@version

  • --reason (string, optional): Reason for archiving the tile

Notes

  • Prevents new installations while preserving existing installations

Examples


Workspace management

Workspaces enable you to create private collections of tiles that are restricted to yourself or your organization. You can control member access and permissions. To learn more, see Publish private Tiles for your libraries.

tessl workspace create

Create a new workspace.

Usage

Arguments

  • name (string, optional): Name for the workspace. The name must be lowercase. If omitted, you'll be prompted.

Examples

tessl workspace list

List all workspaces that you are a member of.

Usage

tessl workspace delete

Delete an existing workspace.

Usage

Arguments

  • name (string, optional): The name or ID of the workspace. If omitted, you'll be prompted.

Examples

tessl workspace add-member

Add a user to a workspace with specified permissions.

Usage

Flags

  • --workspace (string, optional): The name or ID of the workspace

  • --user (string, optional): The username or ID of the user to add

  • --role (string, optional): The role of the user. Options:

    • member

    • publisher

    • manager

    • owner

See Roles for more information

Examples

tessl workspace remove-member

Remove a user from a workspace.

Usage

Flags

  • --workspace (string, optional): The name or ID of the workspace

  • --user (string, optional): The username or ID of the user to remove

Examples

tessl workspace list-members

List all members of a workspace.

Usage

Arguments

  • name (string, optional): The name or ID of the workspace. If omitted, you'll be prompted.

Examples


Configuration management

tessl config get

Get a configuration value or show all configuration.

Usage

Arguments

  • key (string, optional): Configuration key to get. If omitted, shows all configuration.

Examples

tessl config set

Set a configuration value.

Usage

Arguments

  • key (string, required): Configuration key to set

  • value (string, required): Value to set

Examples


Diagnostics and utilities

tessl doctor

Run authentication and manifest diagnostics to troubleshoot issues.

Usage

Flags

  • --json (boolean, optional): Output diagnostics as JSON for programmatic processing

Examples

tessl feedback

Send feedback to the Tessl team.

Usage

Arguments

  • message (string, optional): Feedback message to send. If omitted, you'll be prompted interactively.

Examples


CLI self-management

tessl cli update

Update the CLI to the latest or specified version.

Usage

Flags

  • --target or -t (string, optional): Target version to update to (e.g., v1.0.0)

  • --dry-run (boolean, optional): Show what would be run without executing the update

Examples


Model Context Protocol (MCP)

tessl mcp start

Start the Tessl MCP (Model Context Protocol) server for integration with AI coding agents.

Usage

Last updated