---
title: "Create Directory"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/os/createdirectory
markdown: https://docs.nodetool.ai/nodes/lib/os/createdirectory.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/os/createdirectory.md
---

# Create Directory

**Type:** `lib.os.CreateDirectory`

**Namespace:** `lib.os`

## Description

Create a new directory at specified path.
    files, directory, create

    Use cases:
    - Set up directory structure for file organization
    - Create output directories for processed files

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| path | `str` | Directory path to create | `` |
| exist_ok | `bool` | Don't error if directory already exists | `true` |

## Outputs

_(none)_

## Related Nodes

Browse other nodes in the [lib.os](./) namespace.
