{{ define "main" }}

Invisible yet powerful

Upgrade to Tea - the revolutionary, cross-platform package manager. Say goodbye to slow & clunky, and say hello to fast & smooth updates. From the creator of Brew.

tea/cli... from the creator of brew

Introducing tea, the cross-platform package manager of the future. Say goodbye to slow package managers. With tea, simply type commands and it takes care of the rest. Get the latest version easily and support specific tool versions for different projects. Encoding dependencies in the README makes it readable by humans and tea, providing easier access for users. Experience better package management with tea.

{{- partial "mobile-ctas.html" -}}
{{- partial "desktop-ctas.html" -}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

{{- partial "hero-terminal-animation.html" -}}

THIS ISN’T A PACKAGE MANAGER. TEA IS A UNIFIED PACKAGING INFRASTRUCTURE.

NO. OF REPOS

56,987

NO. OF MAINTAINERS

56,987

STAR COUNT

56,987

CURRENT RELEASE

56,987

Features

tea magic

tea offers a unique way of managing and utilizing open source tools with its installer that adds hooks to your shell. With tea's magic, you can effortlessly set up project environments, automatically install commands, and easily manage packages from the open source ecosystem. Using tea magic is optional, but it offers a convenient way to streamline your development workflow. The magic only works in the terminal, but it is easy to remove if desired, and tea can still be used without magic by simply prefixing commands with "tea".

tea's magic enables you to utilize the entire open source ecosystem with just a few keystrokes. The magic sets up project environments using shell environment variables, and if a command is not found, it will install the command before running it. tea's magic is designed for developers, and it won't compromise your system's integrity as it doesn't install packages in your PATH. Additionally, tea's magic can be used in shell scripts by manually adding it with the one-liner "source <(tea --magic=bash)" and you can inject packages into an environment with the "+pkg" syntax. Whether you are looking for an easy way to manage your development environment, or seeking a way to streamline your scripts, tea's magic is the solution you've been looking for.

{{- partial "play-btn.html" -}}

Developer Environments

Say goodbye to globally installed tools with different versions causing subtle bugs during development. With tea, you simply step into your project directory, type your command and voila, tea fetches and runs the specific versions that your project requires.

tea is designed to be as clever as possible, it parses the required tool versions from different sources like GitHub Actions, .node-version files, YAML front matter in configuration files, and a # Dependencies section in your README.md. If there isn't a convention to specify the tool versions, you can add the YAML front matter to the tool's configuration file or add the dependencies to the # Dependencies section in your README.md. tea also provides SRCROOT and VERSION variables in addition to everything else required to make your dev environment function. To see the full environment for your project, simply run tea -En or env. If you encounter any issues or bugs, simply open a ticket. Try tea today and make project management a breeze!

{{- partial "play-btn.html" -}}

tea scripts

With tea, there's no need to install packages beforehand, just type the commands you need and tea takes care of the rest. This includes fetching packages, constructing a virtual environment isolated from the rest of your system, and then running your commands. The focus is on using tools rather than installing them.

tea supports the full https://semver.org specification, allowing you to construct virtual environments of specific tools and versions, encapsulated separately from the rest of your system. You can also specify the version of a tool needed in the tool's config, using YAML front matter in a comment or by adding an isolated tea namespace in a file like package.json. tea also has the option to parse your README for dependencies, further cementing the notion that using tea is completely optional for both you and your users.

{{- partial "play-btn.html" -}}

Getting started with tea!

Installing tea is easy and convenient, with multiple options to choose from.

Tea is a standalone, cross-platform binary that can be installed by cURLing or using a package manager like brew. Additionally, there's an installer available that provides shell magic and sets up the environment. The one-liner abstracts away the installation process and creates a sandbox for running code. With the installation, there's no need for a preamble in tutorials and blog posts. The installer also updates tea. The binary is supported on Linux, macOS, and WSL and will soon be available for Windows natively. Another option for installation is using GitHub Actions, which installs dependencies and makes tea accessible in the workflow.

If you want tea’s shell magic, use the installer:

sh <(curl https://tea.xyz)

This will confirm before setting up ~/.tea and adding to your ~/.shellrc. Our one-liner even abstracts installing tea itself:

sh <(curl tea.xyz) bun run start

This way, you don't need to start with "how to install tea" in your tutorials and blog posts. The installer also updates tea. If you hate installers, use brew:

$ brew install teaxyz/pkgs/tea-cli

You can also install tea through GitHub Actions:

- uses: teaxyz/setup@v0

tea is supported on macOS >= 11, Linux (glibc >= 23), and WSL, with Windows native support coming soon.


DON’T JUST TAKE OUR WORD FOR IT… TWITTER’S BEEN SIPPING THE TEA TOO!


Ready to start building?
All you need is tea.

Introducing tea’s +pkg syntax, the ultimate tool for streamlined open source access, allowing you to access the entire ecosystem with one command, compose and combine everything, and even more.

{{- partial "desktop-ctas.html" -}}

OSS wouldn't work without talented contributors like you.

We at tea would like to give a big shout out to all the open-source developers out there. Your contributions and dedication to making the world a better place through technology is truly admirable. Thanks to your hard work and generosity, projects like teaxyz/cli can continue to improve and evolve. If you are interested in joining our team of code crusaders, we welcome you with open arms. Head on over to the teaxyz/cli repository on Github and start contributing today! Let's continue to make a positive impact on the world of technology together.

{{ end }}