stew is a terminal user interface (TUI) for the Salesforce CLI (sf), built with Go and the Bubble Tea framework. It aims to provide a more interactive and visual way to manage Salesforce environments and metadata directly from the command line.
Stew was built with the goal of being an easy-to-integrate UI for interacting with the SF CLI in code editors other than VS Code, such as Zed, by leveraging its tasks feature.
You can checkout SF Zed Tasks a comprehensive collection of sf and stew Zed tasks.
.
Can be installed via npm (requires sudo on linux)
npm install -g @brtheo/stewClone the repository and build the binary:
git clone https://github.com/brtheo/stew.git
cd stew
./build.shEasily switch between your authenticated Salesforce orgs.
- Lists all authenticated orgs (Scratch Orgs, Sandboxes, Dev Hubs, etc.).
- Displays aliases, usernames, and instance URLs.

Streamline the creation of new Salesforce metadata with a simple, interactive form.
- Lightning Web Components (LWC): Generate new LWC components.
- Apex Classes: Create new Apex classes.
- Apex Triggers: Create new Apex triggers with SObject selection.
- Aura Components: Generate new Aura components.
- Aura Events: Generate new Aura events.
- Aura Applications: Generate new Aura applications.
- Input validation to ensure metadata names are not empty.
- Real-time feedback on successful creation.

Browse, search, and select metadata from your Salesforce org to generate a package.xml file.
- Select a metadata type
- Browse all available metadata of that type and pick one or more items
- Generate a package.xml file with the selected metadata.

Wizard to authorize an org.
- [*] gen aura related stuff
- gen vf page
- gen project
- gen test suite
- [*] authorize an org/dev hub
- get apex logs
- Go (1.19 or later)
- Salesforce CLI (sf) installed and authenticated with at least one org.