- Docs
- Getting Started
- Installation
Installation
This placeholder page demonstrates how fenced code blocks, titled code blocks, and tables render in the documentation.
Install the CLI
Install the command-line tool with your package manager of choice:
npm install -g example-cliVerify the installation by printing the version:
example-cli --versionCreate a project
Initialize a new project. The command below writes a configuration file into the current directory:
{
"name": "my-project",
"version": "1.0.0",
"environment": "development",
"features": {
"telemetry": false
}
}Configuration reference
The generated configuration accepts the following top-level fields:
| Field | Type | Default | Description |
|---|---|---|---|
name | string | — | Human-readable project name. |
version | string | 1.0.0 | Semantic version of the project. |
environment | string | development | One of development or production. |
features | object | {} | Optional feature flags. |
Troubleshooting
If the example-cli command is not found after installation, make sure your
package manager's global bin directory is on your PATH. Continue to the
Quickstart once installation succeeds.