Skip to content

Check that it works

Step 7 of 7

This page is step 7 of the path, the last one. We run four commands that show what sfe has, what is in place and what is missing: sfe version, sfe doctor, sfe status and sfe cheat. All four only read, so none of them can change a system. We use them again whenever something looks wrong, and the first one to reach for is sfe doctor.

Video, about two and a half minutes, with narration and captions.

Before you start

  • Steps 1 to 6 of the path are done: sfe is installed, our pack is on, we are signed in, and our coding agent is connected.
  • A Terminal window is open.

The screens on this page come from a Mac where every step of the path is done.

Steps

1. Ask which version we have

sfe version

sfe prints its version, and the engine it runs on

sfe prints its version (the newest release is 0.1.4; this screen was taken with 0.1.0), and the engine it runs on, with the version it needs.

2. Run the doctor

The doctor checks the programs, the configuration, the sign-ins, the coding agents and the guard (the check that stops an agent from changing something nobody allowed), and prints the fix for each problem.

sfe doctor

The doctor takes a few seconds, because it asks each system whether our sign-in still works. When it is done, the last line is the one we look for:

The end of the doctor report: agents, security and seal, then Everything required is in place

Then we scroll up to read the top of the report:

The top of the doctor report: the tools with their versions, the configuration, and Salesforce

We read the answer from top to bottom.

Part What it means
A bold word such as tools or salesforce A group of checks: the programs, the configuration, one group for each system, then agents, security and seal
A green ✔ sfe found it and it works. The detail on the right is its version
A red ✖ A required thing is missing. This counts as a problem
A yellow ▲ An optional thing is missing. It is nice to have, and it does not count as a problem
A circle ○ A note, or something that is not on this Mac, such as an agent we do not use
fix: under a problem What to do about it. Every problem comes with one. A fix is a command to run, or a sentence when a person has to do it, such as a sign-in
The last line How many problems are left, in red, or Everything required is in place in green

In the pictures there is no red cross. The yellow triangles are on shell completion, and on the Staging sandbox of Salesforce, which needs an invitation first. Both are optional, so the last line says Everything required is in place (2 optional item(s) not set up).

Two more things we can use. sfe doctor aws checks one group only, and sfe doctor --fix applies the fixes that are safe to apply without asking.

3. Look at the status

sfe status

sfe status: one row for each system, with the environment, where it points and who we are signed in as

sfe status shows one row for each system sfe knows: whether it is on, which environment it points at, where that is, and in the login column who we are signed in as. Rows marked [PRODUCTION] are the live systems, which sfe only reads. The lines above the table say where our configuration is, that sfe is in read-only mode, and what agents may ask for.

4. Open the cheat sheet

sfe cheat

The cheat sheet: the commands we use most, grouped by what we want to do

sfe cheat prints one screen with the commands we use most, grouped by what we want to do: something is broken, where is my change, look at Salesforce, and so on. Each line says what the command answers.

What we should see

  • A version from sfe version.
  • A doctor report that ends with Everything required is in place, possibly with a count of optional items that are not set up.
  • A status with one row for each system, and our login on each one we signed in to.
  • A cheat sheet.

Troubleshooting

What we see Likely cause What to do
zsh: command not found: sfe The Terminal window was open before the install Open a new Terminal window and try again. See Install sfe
sfe is not set up yet No pack is on Do Make your pack, then Turn on your pack
A red cross on a system, such as Salesforce or AWS We are not signed in to that system Read the fix: line, then use the page for that system in Sign-ins. We type the passwords and the codes ourselves
A red cross or a yellow mark on agents A coding agent does not have sfe yet, or has an old copy Do Connect your coding agent
A yellow mark An optional item is not set up Nothing to fix unless we want that item
login needed, with exit code 4, in a later command A sign-in has expired Run sfe doctor. It names the system and the fix

Next


Last reviewed: 2026-12-02