How to run BBEdit from Terminal - macOs

1,865 views
Skip to first unread message

Bill Meacham

unread,
Aug 31, 2023, 3:29:13 PM8/31/23
to BBEdit Talk
I'm running macOS 10.14.6 (Mojave)
I'm running BBEdit version 12.6.7 (412120, 64-bit, sandboxed)

How can I run BBEdit from the terminal?  Here is what I tried:

Bill's Air:~ bmeacham$ bbedit

-bash: bbedit: command not found

More info:

Bill's Air:~ bmeacham$ echo $PATH

/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/bin

Bill's Air:~ bmeacham$ cd /

Bill's Air:/ bmeacham$ find bbedit -print

find: bbedit: No such file or directory

Now what? Can I run 

Rich Siegel

unread,
Aug 31, 2023, 3:31:21 PM8/31/23
to BBEdit Talk
On 31 Aug 2023, at 15:28, Bill Meacham wrote:

> I'm running macOS 10.14.6 (Mojave)
> I'm running BBEdit version 12.6.7 (412120, 64-bit, sandboxed)
>
> How can I run BBEdit from the terminal? Here is what I tried:
> [...]

The first step is to install the command-line tools, which you can do from the BBEdit application menu.

Then you can run `bbedit`, `bbfind`, and `bbdiff`.

Each has a man page that will tell you how the (respective) tool works.

Top tip: running `bbedit` by itself does not launch the application until it is finished reading from standard input; use `bbedit -l` if all you want to do is start the application.

Enjoy,

R.


--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <https://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

Bill Meacham

unread,
Aug 31, 2023, 3:46:13 PM8/31/23
to BBEdit Talk
Thanks! Fixed now.
Reply all
Reply to author
Forward
0 new messages