Skip to content

Make Commands

Run make help for the full list of available commands. Below they are grouped by category.

CommandDescription
make installInstall Python in editable mode (for development)
make install-gdocsInstall with Google Docs extras
make dev-installInstall with dev dependencies (includes commitizen)
make node-ui-depsInstall node_ui/ npm packages (needed by aichat’s menus)

These commands bump the version and install the package, but do not push or publish:

CommandDescription
make patchBump patch version (0.0.X) and install
make minorBump minor version (0.X.0) and install
make majorBump major version (X.0.0) and install
make releaseAlias for make patch

These commands do everything needed to prepare a PyPI release: bump version, push to GitHub, create a GitHub release, and build the package.

CommandDescription
make all-patchBump patch + push + GitHub release + build
make all-minorBump minor + push + GitHub release + build
make all-majorBump major + push + GitHub release + build
make publishPublish dist/ using the primary checkout’s .env
make release-githubCreate GitHub release from latest tag
make cleanClean dist/ build artifacts

After running any all-* command, publish with:

Terminal window
make publish

Linked worktrees automatically use the primary checkout’s .env. Set PYPI_ENV_FILE=/path/to/file to load the token from another dotenv file.

CommandDescription
make aichat-searchBuild the aichat-search binary
make aichat-search-installBuild and install to ~/.cargo/bin
make aichat-search-patchBump patch (0.0.X), tag, push
make aichat-search-minorBump minor (0.X.0), tag, push
make aichat-search-majorBump major (X.0.0), tag, push
make aichat-search-publishBump, tag, push, publish to crates.io
CommandDescription
make lmshBuild the lmsh binary
make lmsh-installBuild and install to ~/.cargo/bin
make lmsh-publishBump version and publish to crates.io
CommandDescription
make docs-devStart the Starlight docs dev server (hot reload)
make docs-buildBuild the docs site to docs-site/dist/
make docs-previewPreview the built docs site locally
CommandDescription
make fix-session-metadataScan for sessionId mismatches (dry-run)
make fix-session-metadata-applyFix sessionId mismatches
make delete-helper-sessionsFind helper sessions to delete (dry-run)
make delete-helper-sessions-applyDelete helper sessions
make update-homebrew VERSION=x.y.zUpdate Homebrew formula manually