# How to use bitrise CL script effectively

**URL:** <https://discuss.bitrise.io/t/how-to-use-bitrise-cl-script-effectively/17980>\
**Category:** Question & Answer\
**Created:** [September 15, 2021, 12:33pm UTC](https://discuss.bitrise.io/t/how-to-use-bitrise-cl-script-effectively/17980 "2021-09-15T12:33:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndtec](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@ndtec](https://discuss.bitrise.io/u/ndtec)\
**Post date:** [September 15, 2021, 12:33pm UTC](https://discuss.bitrise.io/t/how-to-use-bitrise-cl-script-effectively/17980/1 "2021-09-15T12:33:51Z")

</div>

Hi I have managed to get the bitrise cl script with a cordova project and two workflows running on my linux (ubuntu) machine, but it is looking for xcodebuild during the cordova build step? Should it not push it to the bitrise, build it there and then be able to pull down the apk/ipa?

Is there a step I should replace that build step with?

---

<div class="post-metadata">

**Author:** ![cathy.harmon](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/cathy.harmon/32/2674_2.png) [@cathy.harmon](https://discuss.bitrise.io/u/cathy.harmon)\
**Post date:** [September 22, 2021, 6:59pm UTC](https://discuss.bitrise.io/t/how-to-use-bitrise-cl-script-effectively/17980/2 "2021-09-22T18:59:13Z")

</div>

Hello,

I’m not sure I understand what you are doing here. Are you using the Bitrise CLI on your local machine as documented [here](https://devcenter.bitrise.io/bitrise-cli/installation/)? Or are you running your workflow on one of the Bitrise build servers?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [October 22, 2021, 7:00pm UTC](https://discuss.bitrise.io/t/how-to-use-bitrise-cl-script-effectively/17980/3 "2021-10-22T19:00:08Z")

</div>

Closed on October 22, 2021, 7:00pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
