# 创建目录

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/clion/llms.txt).

Procedure:

1. 在 [项目工具窗口](project-tool-window.html)中，右键点击您希望创建新目录的目录。 选择  `新建 | 目录` ：

![创建新目录](https://resources.jetbrains.com/help/img/idea/2026.3/cl_newdirectory.png)

2. 在打开的对话框中，指定目录名称。 如果您想创建多个嵌套目录，请用斜杠分隔它们的名称：

![创建新的嵌套目录](https://resources.jetbrains.com/help/img/idea/2026.3/cl_newdirectory_nested.png)

3. 新创建的目录将出现在项目视图中：

![在项目视图中创建新的嵌套目录](https://resources.jetbrains.com/help/img/idea/2026.3/cl_newdirectory_nested_tree.png)

## See also

