Package Management
install
Install a skill or role with all dependencies. Without a subcommand, installs from strawpot.toml.
| Option | Description |
|---|---|
--global | Install to global directory (~/.strawpot) |
--version <ver> | Install a specific version |
--force | Force replace existing (requires --version) |
--update | Update to latest if already installed |
--recursive | With --update, also update all dependencies |
--save | Save to strawpot.toml with ^X.Y.Z constraint |
--save-exact | Save to strawpot.toml with ==X.Y.Z constraint |
--skip-tools | Skip system tool installation |
--yes, -y | Auto-confirm tool install prompts |
uninstall
Remove a package and clean up orphaned dependencies.
update
Update packages to their latest versions.
init
Create strawpot.toml from installed packages.
install-tools
Install system tools declared by packages.
Discovery
search
Search the registry.
info
Show package details.
list
List available packages.
Runtime
resolve
Resolve a package to its installed path and dependency paths.
Publishing
publish
Publish a skill or role to the registry. Requires authentication.
SKILL.md or ROLE.md with valid frontmatter. See Publishing Guide.
Social
star / unstar
Authentication
login
logout
whoami
Administration
Requires admin privileges.delete
ban-user
set-role
Configuration
Environment Variables
| Variable | Description | Default |
|---|---|---|
STRAWHUB_API_URL | Override the API endpoint | https://strawhub.dev |
STRAWHUB_TOKEN | Override the auth token | From strawhub login |
STRAWPOT_HOME | Override the global install directory | ~/.strawpot |
Config File
Stored in the platform-specific config directory:| OS | Path |
|---|---|
| Linux | ~/.config/strawhub/config.json |
| macOS | ~/Library/Application Support/strawhub/config.json |
| Windows | %LOCALAPPDATA%\strawhub\config.json |