uipath-cli
latest
false
- Overview
- Get started
- Concepts
- Using UiPath CLI
- How-to guides
- CI/CD recipes
- Command reference
- Overview
- Exit codes
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- create-project
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- Migration
- Reference & support
UiPath CLI user guide
Last updated May 7, 2026
uip flow init scaffolds a new Flow project directory with a minimal manifest and a starter .flow file containing a single manual-trigger node.
Synopsis
uip flow init <name> [--force]
uip flow init <name> [--force]
Honors global options. Exit codes follow the standard contract.
Arguments
<name>(required) — project folder name. Validated againstVALID_PROJECT_NAME_REGEX: letters, numbers, underscores (_), and hyphens (-) only.
Options
--force— initialize even if the target directory exists and is non-empty. Existing files are not cleared — files are written alongside; this is useful for reinitializing inside a pre-created folder.
Behavior
The command creates <name>/ in the current working directory and writes two files:
project.uiproj—{ "Name": "<name>", "ProjectType": "Flow" }<name>.flow— seed Flow JSON containing:- One
core.trigger.manualstart node wired to a generatedentryPointId - The matching node definition in
definitions[] - Empty
edges,bindings,variables - Canvas
layout.nodes.startposition
- One
If <name> already exists and is non-empty and --force is not set, the command fails with an error prompting the user to pass --force.
Examples
# Create a new project in ./invoice-flow
uip flow init invoice-flow
# Reinitialize into an existing non-empty folder (e.g. a Git repo)
uip flow init invoice-flow --force
# Create a new project in ./invoice-flow
uip flow init invoice-flow
# Reinitialize into an existing non-empty folder (e.g. a Git repo)
uip flow init invoice-flow --force
Data shape (--output json)
{
"Code": "FlowInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/invoice-flow"
}
}
{
"Code": "FlowInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/invoice-flow"
}
}
On failure, Code is absent and the response carries Result: "Failure", Message, and Instructions.
See also
uip flow pack— pack the scaffolded projectuip flow node— add nodes to the starter.flowfileuip flow registry— discover node types to add- Flow overview