
To get started with steve, visit this page to download the latest version: Releases Page.
You can also install using Homebrew if you have it on your Mac. Open your terminal and run these commands:
brew tap mikker/tap
brew install steve
Once you have installed steve, you can start using it right away. This tool helps you control Mac applications using the Accessibility API. It is perfect for automated testing and managing applications through scripts.
All commands output structured text to the console. For exceptions like screenshots, steve outputs a PNG file unless you specify an output file with -o or --output.
You can get the results in JSON format by adding --format json or using -j. Errors will display in the terminal, and any failed command returns a non-zero exit code.
When you run commands in text mode, the output looks something like this:
- Extensions
frame: x=837 y=157 w=885 h=814
When using JSON format, it will appear like this:
{"ok":true,"data":...}
{"ok":false,"error":"message"}
Here are some of the basic commands to drive applications:
steve apps
steve focus "AppName"
steve focus --pid 1234
steve focus --bundle "com.example.app"
steve launch "com.example.app" --wait
The commands return structured data, making it easier for users to integrate with other programs or scripts. If you need help with a specific command, you can type:
steve --help
This will provide you with a list of all available commands and options.
If you encounter issues or have questions, feel free to raise them in our Issues Page. We are here to help you!
Stay tuned for updates! You can follow the changelog in the Releases Page to know whatโs new in each version.
By following these steps, you will be able to install and run steve effectively. Enjoy leveraging the power of Mac applications through the Accessibility API!