# Projects

Source: https://projectfeed.app/docs/cli/projects-tasks/projects

List, create, inspect, update, and archive workspace projects.

Create, list, view, edit, and archive projects. Alias: `pf p`

 `pf projects list` List all projects in the workspace

alias: pf p ls

Options

-   `--show-archived` boolean
    
    Include archived projects
    
-   `--sort` string
    
    name, createdAt, or updatedAt sorts on the server. Any other field sorts the returned page in the CLI.
    
-   `--reverse` boolean
    
    Reverse sort order
    
-   `--visibility` string
    
    public or private
    
-   `--query` string
    
    Text in the name, slug, or description, up to 100 characters
    
-   `--prefix` string
    
    Task identifier prefix such as PRO
    
-   `--include` string
    
    stats, links, or both. The extra data appears in --json output.
    
-   `--limit` number
    
    Projects per page, 1 to 200. Without it you get one response with up to 1,000
    
-   `--cursor` string
    
    Continue from nextCursor, with the same filters and sort
    
-   `--all` boolean
    
    Follow every cursor and print one list
    
-   `--page` boolean
    
    Include projects, hasMore and nextCursor with --json; cannot be used with --jq or --template
    

Example

Shell

```
pf projects list
pf projects list --show-archived
pf p ls --sort name
pf projects list --visibility private --query launch --sort updatedAt --reverse
pf projects list --prefix PRO --limit 20 --json --page
pf projects list --limit 50 --cursor '<nextCursor>'
pf projects list --all --json id,slug
```

 `pf projects create` Create a new project. In a terminal, a missing --name is prompted for. Without a terminal, the command fails when --name is missing.

Options

-   `--name` string required
    
    Project name, up to 100 characters
    
-   `--description` string
    
    Project description
    
-   `--color` string
    
    Project color as a hex value such as #3B82F6
    
-   `--visibility` string
    
    Visibility: public or private (default public)
    
-   `--slug` string
    
    URL slug, 2 to 50 lowercase letters, numbers, or hyphens. Taken from the name when omitted.
    
-   `--prefix` string
    
    Task identifier prefix, 2 to 5 letters. Taken from the name when omitted.
    
-   `--icon` string
    
    Built-in icon key such as rocket
    

Example

Shell

```
pf projects create --name "Design System" --visibility private
pf projects create --name "Design System" --slug design --prefix DSN --icon rocket
```

 `pf projects view [id]` View project details, including the task prefix, the app URL, the time estimate, and git automation when set. Opens an interactive picker if no ID is given.

alias: pf p show

Options

-   `--include` string
    
    stats, permissions, links, or any of them, comma-separated
    

Example

Shell

```
pf projects view abc123
pf projects view abc123 --include stats,permissions,links
pf p show    # interactive picker
```

 `pf projects edit [id]` Update project properties

alias: pf p update

Options

-   `--name` string
    
    New project name
    
-   `--description` string
    
    New description
    
-   `--color` string
    
    New color
    
-   `--visibility` string
    
    New visibility: public or private
    
-   `--archived` boolean
    
    Set archived state
    
-   `--slug` string
    
    New URL slug
    
-   `--icon` string
    
    Built-in icon key such as rocket
    
-   `--no-icon` boolean
    
    Remove the icon
    
-   `--estimate-minutes` string
    
    Project time estimate in minutes, or none to clear it
    
-   `--git-automation` string
    
    Git automation settings as JSON with branchPushStatus, prOpenStatus, prMergeStatus, and magicWords
    

Example

Shell

```
pf projects edit abc123 --name "Design System v2"
pf projects edit abc123 --icon rocket --estimate-minutes 2400
```

 `pf projects analytics <id>` Show a project's task mix and completions in a range. Needs the reports:read scope and a Pro plan.

Options

-   `--range-days` number
    
    Days to cover, 1 to 90. A larger value is refused.
    
-   `--from` string
    
    Start of the range: Unix milliseconds, a date, or an ISO time
    
-   `--to` string
    
    End of the range (default now)
    
-   `--timezone` string
    
    IANA time zone for day boundaries (default UTC)
    

Example

Shell

```
pf projects analytics design-system
pf projects analytics design-system --range-days 60 --timezone Europe/Berlin --json
```

 `pf projects heatmap <id>` Show a project's activity by weekday and hour over recent weeks, with the busiest hour. Use --json for every hour. Needs the reports:read scope and a Pro plan.

Options

-   `--weeks` number
    
    Weeks to cover, 1 to 52 (default 52). Fewer than 4 weeks shows 4.
    
-   `--timezone` string
    
    IANA time zone for day boundaries (default UTC)
    

Example

Shell

```
pf projects heatmap design-system --weeks 12
```

 `pf projects task-counts <project>` Count a project's top-level tasks by status, with the open and total counts. Needs the projects:read and tasks:read scopes

Example

Shell

```
pf projects task-counts abc123
pf projects task-counts abc123 --json
```

 `pf projects pin <project>` Pin a project to your sidebar, or unpin it. Pins are personal. Needs the notifications:write scope

Options

-   `--remove` boolean
    
    Unpin the project
    

Example

Shell

```
pf projects pin website
pf projects pin website --remove
```

 `pf projects archive [id]` Archive or unarchive a project

Options

-   `--unarchive` boolean
    
    Unarchive instead of archive
    
-   `--confirm` boolean
    
    Skip confirmation prompt
    
-   `--dry-run` boolean
    
    Preview without making changes
    

Example

Shell

```
pf projects archive abc123
pf projects archive abc123 --unarchive
```

 `pf projects delete <id>` Delete a project and everything in it. Follows the workspace setting Who can delete projects.

Options

-   `--confirm` boolean
    
    Skip confirmation prompt
    
-   `--dry-run` boolean
    
    Preview without making changes
    

Example

Shell

```
pf projects delete design-system --confirm
```

 `pf projects members add <project>` Add a workspace member to a project. Needs a project admin or a workspace owner or admin.

Options

-   `--user` string required
    
    User ID of a workspace member
    
-   `--role` string required
    
    viewer, editor, or admin
    

Example

Shell

```
pf projects members add design-system --user usr_abc123 --role editor
```

 `pf projects members role <project> <userId>` Change a project member's role

Options

-   `--role` string required
    
    viewer, editor, or admin
    
-   `--expected-updated-at` number
    
    Fail if it changed since this updatedAt
    

Example

Shell

```
pf projects members role design-system usr_abc123 --role viewer
```

 `pf projects members remove <project> <userId>` Remove a member from a project

Options

-   `--expected-updated-at` number
    
    Fail if it changed since this updatedAt
    
-   `--confirm` boolean
    
    Skip confirmation prompt
    
-   `--dry-run` boolean
    
    Preview without making changes
    

Example

Shell

```
pf projects members remove design-system usr_abc123
```

 `pf projects links list <project>` List the links shown on a project

alias: pf p links ls

Example

Shell

```
pf projects links list design-system
```

 `pf projects links add <project>` Add an http or https link to a project. A project holds at most 5 links.

Options

-   `--label` string required
    
    Text shown for the link, up to 50 characters
    
-   `--url` string required
    
    http or https address
    
-   `--type` string
    
    Link kind such as website, repository, or docs
    

Example

Shell

```
pf projects links add design-system --label Roadmap --url https://example.com/roadmap
```

 `pf projects links edit <project> <linkId>` Change a project link

Options

-   `--label` string
    
    New label
    
-   `--url` string
    
    New address, or an empty string to clear it
    
-   `--type` string
    
    New kind
    
-   `--expected-updated-at` number
    
    Fail if it changed since this updatedAt
    

Example

Shell

```
pf projects links edit design-system plk_abc123 --label "Public roadmap"
```

 `pf projects links remove <project> <linkId>` Remove a link from a project

alias: pf p links rm

Options

-   `--expected-updated-at` number
    
    Fail if it changed since this updatedAt
    

Example

Shell

```
pf projects links remove design-system plk_abc123
```

 `pf projects links order <project> <linkIds...>` Set the display order of a project's links

Options

-   `--expected-updated-at` number
    
    Fail if any link changed since this updatedAt, the highest among the links
    

Example

Shell

```
pf projects links order design-system plk_two plk_one
```

 `pf projects icon remove <project>` Remove the project icon, whether it is an uploaded image or a built-in icon

Example

Shell

```
pf projects icon remove design-system
```

 `pf projects header-image remove <project>` Remove the project header image

Example

Shell

```
pf projects header-image remove design-system
```

## Create and verify a project

1.  1.
    
    ### Create the project
    
    Confirm the current workspace, then create the project with an explicit name and visibility. Non-interactive runs must provide the required values rather than relying on prompts.
    
2.  2.
    
    ### View it
    
    Capture the returned project ID and view it directly. Verify name, description, color, visibility, and archived state.
    
3.  3.
    
    ### Set up access
    
    For a private project, configure membership in Project Feed before creating work that other people must access.
    
4.  4.
    
    ### Link a directory
    
    Link a local directory or set defaultProject only after verifying the ID. Run one list command from that context before a mutation.
    

Shell

```
pf workspace current
pf projects create --name "Launch" --visibility private --json
pf projects view <project-id> --json
pf link <project-id>
pf tasks list --limit 1 --json
```

## Fix project problems

An archive preview names the wrong project

Stop before confirmation, view the project by ID, and rerun with --dry-run. Include --show-archived when checking the result or unarchiving.

## Next steps

-   [Project workflows and access](https://projectfeed.app/docs/projects/getting-started)
-   [Projects API](https://projectfeed.app/docs/api/projects)
