# Install ChartForgeX

Install the core ChartForgeX package and add optional adapters only when needed.

Use the .NET library when a service, desktop app, report generator or other host owns the data and rendering calls. For Markdown authoring, use the [command-line tool](../cli/) or [VS Code extension](../editor/).

Install the core renderer from NuGet:

```powershell
dotnet add package ChartForgeX
```

<figure class="cfx-figure">
<div class="cfx-figure__plate">
<a class="cfx-figure__open cfx-only-light" href="/site/docs/install-light.svg" aria-label="Open the install figure full size, light theme"><img src="/site/docs/install-light.svg" width="760" height="300" loading="lazy" decoding="async" alt="The packages and what each adds, drawn as a ChartForgeX table. Visual blocks set exact facts like these beside charts." /></a>
<a class="cfx-figure__open cfx-only-dark" href="/site/docs/install-dark.svg" aria-label="Open the install figure full size, dark theme"><img src="/site/docs/install-dark.svg" width="760" height="300" loading="lazy" decoding="async" alt="The packages and what each adds, drawn as a ChartForgeX table. Visual blocks set exact facts like these beside charts." /></a>
</div>
<figcaption>The packages and what each adds, drawn as a ChartForgeX table. Visual blocks set exact facts like these beside charts.</figcaption>
</figure>

Add an optional package only for the capability the host needs:

```powershell
dotnet add package ChartForgeX.Interactivity.Html
dotnet add package ChartForgeX.Markup
dotnet add package ChartForgeX.Mermaid
dotnet add package ChartForgeX.Markup.Mermaid
```

`ChartForgeX.Mermaid` renders supported Mermaid source directly. `ChartForgeX.Markup.Mermaid` adds Mermaid fences to the Markdown artifact pipeline; the [markup guide](../markup/) explains the host integration. Use `ChartForgeX.Visuals` for [visual blocks](../visual-blocks/) and [canvases](../visual-canvas/).

The core package targets .NET Framework 4.7.2, .NET Standard 2.0, and .NET 10. It has no runtime package dependencies. The browser adapter generates self-contained HTML and does not turn the static renderer into a JavaScript-first dependency.

See the [NuGet package](https://www.nuget.org/packages/ChartForgeX) for the current public version and supported assets.

<!-- PowerForge markdown source sha256:85D5429B8EB1D6AB13C910C622E3EFF1F91FC38881433AB6650FD3B74D1C2CA5; title=True -->

<!-- PowerForge markdown artifact sha256:1BD6DA8AE21FF483BDB857909A9D7CD19F4DD45A90605812E9DBB6FBF6DB8751 -->
