---
title: "Installation"
description: "Install the Merfolk CLI for terminal, script, and agent workflows."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.merfolk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

## Prerequisites

- **Node.js** 18 or later
- **npm** (comes with Node.js) or any compatible package manager

## Install

```sh
npm install -g merfolk-cli
```

This installs the `merfolk` command globally.

## Verify

```sh
merfolk --version
```

You should see the current version number printed to stdout.

## Update

To update to the latest version:

```sh
npm install -g merfolk-cli@latest
```

Source: https://docs.merfolk.io/cli/installation/index.mdx
