Skip to main content
The mkdir command creates a new directory in your workspace.
dv mkdir --path <path> [--workspace_id <workspace_id>]
Required Parameters:
  • --path - The path to the directory to create
Optional Parameters:
  • --workspace_id - The ID of the workspace to create the directory in (defaults to current workspace)
This command is useful for creating directory structures programmatically or from scripts. An example of creating a directory:
dv mkdir --path /game/levels/world1
An example of creating a directory in a specific workspace:
dv mkdir --path /assets/textures --workspace_id abc123def456
After using mkdir, you’ll still need to commit the changes to save the directory structure to your branch.