← 返回命令列表

Linux command

tye 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Run application

tye run

Run with dashboard on a specific port

tye run --dashboard --port [9000]

Run services as Docker containers

tye run --docker

Run with file watching for live reload

tye run --watch

Deploy to Kubernetes

tye deploy

Initialize a tye.yaml config file

tye init

说明

Tye is an experimental development tool from Microsoft that simplifies running and deploying .NET microservice applications. It orchestrates multiple services locally, starting them together with a single command and providing a web dashboard for monitoring their status, logs, and endpoints. The tool handles service discovery automatically, allowing microservices to find each other without manual configuration of ports and addresses. Building and containerizing services is streamlined for deployment to Kubernetes clusters. Configuration is defined in a tye.yaml file that lists services, their dependencies, and deployment settings.

参数

run
Run the application locally.
build
Build containers for the application.
deploy
Deploy the application to Kubernetes.
init
Scaffold a tye.yaml configuration file.
--dashboard
Launch the web dashboard on run.
--port _PORT_
Port for the dashboard (default: 8000).
--docker
Run projects as Docker containers.
--watch
Monitor for file changes and restart modified services.
--no-build
Do not build projects before running.
--debug _SERVICE_
Wait for debugger attach to a service. Use * for all services.
--logs _PROVIDER_
Write structured logs to a provider (console, elastic, ai, seq).
--tags _TAGS_
Filter running services by tag.
-v, --verbosity _LEVEL_
Output verbosity: Debug, Info (default), Quiet.

FAQ

What is the tye command used for?

Tye is an experimental development tool from Microsoft that simplifies running and deploying .NET microservice applications. It orchestrates multiple services locally, starting them together with a single command and providing a web dashboard for monitoring their status, logs, and endpoints. The tool handles service discovery automatically, allowing microservices to find each other without manual configuration of ports and addresses. Building and containerizing services is streamlined for deployment to Kubernetes clusters. Configuration is defined in a tye.yaml file that lists services, their dependencies, and deployment settings.

How do I run a basic tye example?

Run `tye run` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does run do in tye?

Run the application locally.