Utoo is a modern, high-performance frontend toolchain designed to provide a unified and optimized experience. It combines a fast package manager, a powerful bundler, and a flexible command system into a single, cohesive ecosystem.
💡 Why Utoo?
| Unified | One tool for package management, building, and workflow automation. |
| Performance | Core logic in Rust + Turbopack for extreme speed. |
| Compatible | Seamless migration with Webpack compatibility mode. |
| Universal | Run anywhere: Local, CI, or Browser (via WASM). |
📦 Core Components
utoo (alias ut): High-performance Rust package manager (Fast, Parallel, npm compatible).
@utoo/pack: Next-gen bundler powered by Turbopack (HMR, TS/JSX, Less/Sass, and more).
@utoo/pack-cli: Command-line interface for the bundler (dev server, build). A lightweight wrapper to run up commands — up is a shortcut alias for utoopack.
@utoo/web: Web-compatible version of the toolchain (WASM, Browser-based bundling).
🚀 Quick Start
1. Install
brew install utooland/tap/utoo
npm install -g utoo
cargo install utoo-pm
ut install @utoo/pack --save-dev
ut install @utoo/pack-cli --save-dev
ut install @utoo/web --save
2. Use
Package Management
ut install
ut add lodash
ut x create-react
Bundling via @utoo/pack-cli
utx up dev
utx up build
utx up build --webpack
✨ Key Features
- ⚡ Rust Powered: Maximum performance for dependency resolution and bundling.
- 🛠️ Turbopack Inside: Incremental builds and instant HMR.
- 🔌 Webpack Friendly: Partial support for existing Webpack configurations.
- 📦 Monorepo First: Built-in workspace management.
- 🌐 Web Ready: Run the entire toolchain in the browser via WASM.
📂 Project Structure
- crates/: Rust core (Package Manager, Bundler Core, WASM/NAPI bindings).
- packages/: TypeScript packages (CLI, Web version, Shared utilities).
- next.js/: Turbopack source integration (Git submodule).
- examples/: Demo projects (React, Ant Design, Webpack-compat, etc.).
🤝 Contributing
We love contributions! Check out CONTRIBUTING.md to get started.
📄 License
Utoo is licensed under the MIT License.