bm project list
List all Basic Memory projects from local and cloud.Options
--local- Force local routing for this command--cloud- Force cloud API routing--workspace TEXT- Cloud workspace name or tenant_id--json- Output in JSON format
Examples
Output
bm project add
Add a new project to Basic Memory.Arguments
NAME- Name of the projectPATH- Path to project directory (required for local mode)
Options
--local-path TEXT- Local sync path for cloud mode (optional)--default- Set as default project--local- Force local API routing--cloud- Force cloud API routing
Examples
Output
bm project remove
Remove a project from Basic Memory.Arguments
NAME- Name of the project to remove
Options
--delete-notes- Delete project files from disk--local- Force local API routing--cloud- Force cloud API routing
Examples
Output
bm project default
Set the default project used when no project is specified.Arguments
NAME- Name of the project to set as default
Options
--local- Force local API routing (required in cloud mode)
Examples
Output
bm project move
Move a local project to a new filesystem location.Arguments
NAME- Name of the project to moveNEW_PATH- New absolute path for the project
Examples
Output
bm project set-cloud
Set a project to cloud mode (route through cloud API).Arguments
NAME- Name of the project to route through cloud
Options
--workspace TEXT- Cloud workspace name or tenant_id
Examples
Output
bm project set-local
Revert a project to local mode (use in-process ASGI transport).Arguments
NAME- Name of the project to revert to local mode
Examples
Output
bm project ls
List files in a project.Arguments
PATH- Path within project (optional)
Options
--name TEXT- Project name to list files from (required)--local- List files from local project instance--cloud- List files from cloud project instance
Examples
Output
bm project info
Display detailed information and statistics about a project.Arguments
NAME- Name of the project
Options
--json- Output in JSON format--local- Force local API routing--cloud- Force cloud API routing
Examples
Output
Project Sync Commands
For bidirectional cloud synchronization, see the bisync commands in Cloud Commands.Routing Flags
Most project commands support routing flags:--local- Force local routing (ignore cloud mode)--cloud- Force cloud routing (override local mode)
- The command uses the project’s configured mode (
localorcloud) - Cloud projects require authentication via API key or OAuth
Working with Workspaces
Cloud projects can be associated with specific workspaces:- Organize projects by team or context
- Share projects with other users
- Separate personal and work projects