Storage Paths
utoo uses several directories for configuration, cache, and global packages.
Directory Structure
- config.toml
Paths Overview
| Path | Purpose |
|---|---|
~/.utoo/config.toml | Global 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
Clear All
Terminal
ut cleanGlobal 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/tscCustom Paths
Config
Terminal
ut config set cache-dir /path/to/cache --globalProject Files
In each project, utoo uses:
- package.json
- package-lock.json
- .utoo.toml
| File | Purpose |
|---|---|
package.json | Dependencies manifest |
package-lock.json | Dependency lock file |
node_modules/ | Installed packages |
.utoo.toml | Project-specific config (optional) |
Last updated on