Bitrise_CLI is a Command Line Interface for running your Workflows from Bitrise on your local machine or even automate your local development processes (or almost anything) with a single terminal command.
We’ve made it so easy for you. No need to download anything, just one command and you can reach the final frontier!
If you're on Linux or want to installbitrise
without using homebrew, check out the install instructions on the CLI's releases page. It's as simple as downloading the binary andchmod +x
it.
Now you can use your favourite text editor to experiment with your workflow and see the results even faster by running the workflow on your own machine! You can develop your own Steps, add them to the workflow by pasting the local path to the given folder and test them over and over again!
Create new integrations!
Didn’t find what you’re looking for? Create your own Step to do the work and if you’d like, send a Pull Request to get it into our collection!
Configure workflows using .yml
Modify the bitrise.yml to configure your Workflows, Env Vars, Steps and many more. You only need a text editor and a terminal. Hack away!
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
title: Template configuration.
summary: |-
Template 'bitrise.yml', generated by 'bitrise init'.
description: |-
app:
envs:
- BITRISE_APP_TITLE: "MyApp"
- BITRISE_DEV_BRANCH: "develop"
trigger_map:
- pattern: test**
is_pull_request_allowed: true
workflow: test
- pattern: "*"
is_pull_request_allowed: true
workflow: fallback
workflows:
test:
steps:
- script:
title: Hello Bitrise!
inputs:
- content: |-
#!/bin/bash
echo "Welcome to Bitrise!"
echo "Such Test!"
echo
echo "Project Title is: ${BITRISE_APP_TITLE}"
echo "and the primary development branch is: ${BITRISE_DEV_BRANCH}"
fallback:
steps:
- script:
title: Fallback
inputs:
- content: |-
#!/bin/bash
echo "Such Fallback!"
You prefer to work in your terminal instead of using a web browser? No problem! If you don’t need your build logs to be on the web for the whole team to see, just install the CLI, download the config .yml from Bitrise and keep a tab in your terminal for Bitrise. Once you runbitrise run 'workflowname'
in the terminal you simply have to press ‘↑’ and ‘↵’ to run the whole thing again!
Bitrise CLI usesstepman
andenvman
to provide you with the complete Bitrise experience on your own machine. This makes it possible to use any Integration from our collection or use the one you created, should it be on your own computer or on Github.
You have some great ideas to improve Bitrise? Want to be listed among the Contributors on the Github page? Want to get a legendary 'Bitrise Contributor' sticker and a discount on your Developer plan? You can add your own modifications to customize Bitrise to better suite your needs on your own computer. Simply fork the repository and start modding the CLI! And if you’d like to see your commits on our Github page also send us a Pull Request!
I want to contribute!So all that’s left is...