Skip to Content
DocsutooStorage Paths

Storage Paths

utoo uses several directories for configuration, cache, and global packages.

Directory Structure

    • config.toml

Paths Overview

PathPurpose
~/.utoo/config.tomlGlobal configuration file
~/.cache/nm/Downloaded package tarballs
{prefix}/lib/node_modules/Global package installations (same as npm)

Package Cache

When you install a package, utoo caches the tarball in ~/.cache/nm/:

Cached packages are reused across projects, speeding up subsequent installations.

Clearing Cache

Terminal
ut clean

Global Packages

Globally installed packages are stored relative to utoo’s install location, same as npm (e.g., /usr/local/lib/node_modules/):

Terminal
# Install globally ut install -g typescript # Location # /usr/local/lib/node_modules/typescript/ # /usr/local/bin/tsc

Custom Paths

Terminal
ut config set cache-dir /path/to/cache --global

Project Files

In each project, utoo uses:

    • package.json
    • package-lock.json
    • .utoo.toml
FilePurpose
package.jsonDependencies manifest
package-lock.jsonDependency lock file
node_modules/Installed packages
.utoo.tomlProject-specific config (optional)
Last updated on