Banner background image
Studio User Guide
Last updated 20 de dic. de 2023

Publishing Projects from the Command Line

You can publish projects using the UiPath.Studio.CommandLine.exe publish command.

UiPath.Studio.CommandLine.exe is available in the installation folder:

  • For per-machine installations, the default path is C:\Program Files\UiPath\Studio\.
  • For per-user installations, the default path is %localappdata%\Programs\UiPath\Studio\.

The following arguments are available for the publish command:

-p, --project-pathThe path to the project.json to publish. The argument is mandatory.
-g, --target

Where to publish the project:

  • Custom - Custom URL or local folder. Define the location using the -f, --feed argument.
  • Robot - Default publish location for the Robot, if not connected to Orchestrator. Not available for publishing libraries or templates.
  • OrchestratorTenant - Orchestrator Tenant Processes Feed (for processes and test cases) or Orchestrator Libraries Feed (for libraries and templates).
  • OrchestratorPersonalFolder - Orchestrator Personal Workspace Feed. Not available for publishing libraries, templates, or test cases.
  • OrchestratorFolderHierarchy - If a first-level folder with a separate package feed or one if its subfolders is selected from the folders menu in the Studio status bar, the feed for that folder hierarchy. Not available for publishing libraries or templates.
-f, --feedThe custom URL for publishing the project. This can also be a custom local directory, similar to the path in the Publish options tab in Studio.
-a, --api-keyThe API key for publishing the project. This argument can be used for a custom target.
-i, --iconPath to the custom icon to use for the package.
-n, --notesRelease notes that contain changes brought to the project.
-v, --new-versionThe new version for the project. If not provided, the version is automatically incremented.
-t, --timeoutSpecifies the timeout value for publishing projects. The default timeout is 30 seconds. This setting only applies for the package transfer to Orchestrator duration.
--cer-pathThe local path to the certificate for package signing.
--cer-passwordThe password for the certificate.
--timestamper-urlThe URL to the timestamper.
--incl-all-feedsNot required.
--helpView the arguments available for each command.
--versionCheck the version of UiPath.Studio.CommandLine.exe.

For example:

  • The following command publishes the Sample process to the Orchestrator Tenant Processes Feed:

    UiPath.Studio.CommandLine.exe publish --project-path "C:\Users\username\Documents\UiPath\Sample\project.json" --target OrchestratorTenant --notes "Fixed a couple of bugs."

  • The following command publishes the same process to a local folder:

    UiPath.Studio.CommandLine.exe publish --project-path "C:\Users\username\Documents\UiPath\Sample\project.json" --target Custom --feed "C:\Users\username\Desktop\myfeed" --notes "Fixed a couple of bugs."

For more information about the CommandLine.exe utility, see Mass Update Command Line Parameters.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.