Documentation Getting Started

v2.0.0Last updated: November 1, 2025

Getting Started

Learn how to install and configure the library in your project.

This guide will walk you through setting up the library in a new or existing project. The installation process takes about 5 minutes.

Installation

Install the package using your preferred package manager. We support npm, yarn, and pnpm.

$npm install @example/library

Info: Make sure you have Node.js 18 or later installed before proceeding.

Configuration

After installation, you need to create a configuration file. This file controls the behavior of the library.

Configuration Options

  • theme - The visual theme to use (default, dark, or custom)
  • plugins - Array of plugins to enable
  • output - Directory for generated files
  • verbose - Enable detailed logging (optional)

Tip: You can also use a .configrc file or add a config key to your package.json.

Verification

To verify your installation is working correctly, run the following command. It should output the installed version.

$npx example-cli --version

Warning: If you see a permissions error, you may need to run with elevated privileges or check your Node.js installation.

Next Steps

Now that you have the library installed and configured, you're ready to start building. Check out the Basic Usage guide to learn about core concepts.

About this block

Documentation Getting StartedPRO

Documentation-focused layout with version badge, info/warning/tip boxes, and previous/next navigation. Best for technical documentation.

More Post blocks

View all Post
PRO

post19

Step-by-Step Tutorial

Tutorial layout with numbered steps, prerequisites box, terminal commands, and completion message. Perfect for hands-on guides.

PRO

post45

Multi-Chapter Guide

Documentation-style guide with chapter navigation, table of contents, and previous/next navigation. Perfect for comprehensive tutorials.

PRO

post22

API Reference Documentation

Technical reference with endpoint cards, HTTP method badges, and side-by-side request/response examples. Perfect for API documentation.

PRO

post12

Article with Related Posts

Two-column layout with main article and right sidebar containing related article cards with thumbnails. Perfect for discovery-focused content.

PRO

post38

Video Article Layout

Article with featured video player, thumbnail preview, and watch time display. Ideal for video-first content with accompanying text.

PRO

post10

Article with Triple Sidebar

Three-column layout with TOC left sidebar, main article center, and action buttons with tags right sidebar. Best for technical documentation.