# CLI (/docs/cli) The `dashfy` CLI helps you create a new Dashfy project and add extensions (widgets + data sources) to an existing one. Scaffold a project: ```npm npx dashfy@latest init ``` Add an extension: ```npm npx dashfy@latest add @getdashfy/github ``` ## Addresses You reference extensions by **address**: | Address | Resolves to | | -------------------------------- | -------------------------------------------------------- | | `github` | the `@getdashfy` namespace (default) → `…/r/github.json` | | `@getdashfy/github` | the `@getdashfy` namespace explicitly | | `@acme/widget` | a custom namespace declared in `dashfy.json` | | `https://example.com/r/foo.json` | a direct URL | | `./local/foo.json` | a local registry file | | `owner/repo/foo` | a registry item in a GitHub repo (`#ref` optional) | ## `dashfy init|create [name]` Scaffolds a runnable Dashfy app (a framework client + Node server + configuration). `create` is an alias for `init`. | Flag | Description | | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `-t, --template