bbedit command not found, despite BBEdit's instance that it is installed

1,898 views
Skip to first unread message

Chris Corwin

unread,
Apr 23, 2012, 4:21:41 PM4/23/12
to BBEdit Talk
When I run, say:

$ bbedit .git/config

...I am getting:

-bash: bbedit: command not found


This is a fairly new machine, and is in a corporate environment.

I'm unsure where to even beging poking.

Permissions?

A $PATH issue ?

Help?


Thanks!

Fritz Anderson

unread,
Apr 23, 2012, 4:53:09 PM4/23/12
to bbe...@googlegroups.com
On 23 Apr 2012, at 3:21 PM, Chris Corwin wrote:

> When I run, say:
>
> $ bbedit .git/config
>
> ...I am getting:
>
> -bash: bbedit: command not found
>
>
> This is a fairly new machine, and is in a corporate environment.

bbedit is supposed to go into /usr/bin. If that weren't on your $PATH, you'd be having worse troubles than this.

Have you tried the menu command BBEdit > Install Command Line Tools…?

If the command isn't there, you're running the App Store version. Bare Bones has a remedial installer at <http://www.barebones.com/support/bbedit/cmd-line-tools.html>.

— F

Maarten Sneep

unread,
Apr 23, 2012, 4:55:51 PM4/23/12
to bbe...@googlegroups.com

* the command-line tools have been installed? See application menu.
* When installed the bbedit tool is located at /usr/bin/bbedit
Check that this is in your $PATH, Google tells me that this is true by default.
* The tool at this location is actually a symbolic link into the application package.
I don't think this is a permissions issue if you can run BBEdit itself.
* You are not running the Mac App Store version? This version does not have the
command-line tools. In this case refer to http://www.barebones.com/store/macappstore.html
for further causes of action.
* Installing the command-line tools from the non-macapp store version will require
administrator permissions. I'm not sure how your system is locked down in you particular
corporation. This can be fun sorting out, I hope you are on speaking terms with your
administrator ;-)

If this is all OK, then contact support directly to get help in solving the issue.

Best,

Maarten

Rich Siegel

unread,
Apr 23, 2012, 9:21:43 PM4/23/12
to bbe...@googlegroups.com
On Monday, April 23, 2012, Fritz Anderson <fri...@manoverboard.org>
wrote:

>bbedit is supposed to go into /usr/bin. If that weren't on your $PATH,
>you'd be having worse troubles than this.

On 10.6 and later, the tools are installed in /usr/local/bin/,
and with 10.0 and later the installed items are actually
symlinks to the tools in the application package (the latter
which you should not mess with).

Others' advice re app store builds etc is valid and well formed. :-)

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

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

Fritz Anderson

unread,
Apr 24, 2012, 10:10:17 AM4/24/12
to bbe...@googlegroups.com
On 23 Apr 2012, at 8:21 PM, Rich Siegel wrote:

> On 10.6 and later, the tools are installed in /usr/local/bin/, and with 10.0 and later the installed items are actually symlinks to the tools in the application package (the latter which you should not mess with).

H'm. Mac OS X 10.7.3, BBEdit 10.1.1:

$ which bbedit
/usr/bin/bbedit

$ ls -l /usr/bin/bbedit
lrwxr-xr-x 1 root wheel 53 Sep 12 2011 /usr/bin/bbedit -> /Applications/BBEdit.app/Contents/Helpers/bbedit_tool

$ ls /usr/local/bin/bb*
ls: /usr/local/bin/bb*: No such file or directory

Is this a legacy thing?

— F

TJ Luoma

unread,
Apr 24, 2012, 10:30:11 AM4/24/12
to bbe...@googlegroups.com

Yes. If you do a clean install and install the BBEdit command line tools, they go to /usr/local

$ ls -l /usr/local/bin/bb*

lrwxr-xr-x 1 root wheel 61 Feb 21 09:45 /usr/local/bin/bbdiff@ -> /Applications/BBEdit.app/Contents/Helpers/bbdiff
lrwxr-xr-x 1 root wheel 66 Feb 21 09:45 /usr/local/bin/bbedit@ -> /Applications/BBEdit.app/Contents/Helpers/bbedit_tool
lrwxr-xr-x 1 root wheel 61 Feb 21 09:45 /usr/local/bin/bbfind@ -> /Applications/BBEdit.app/Contents/Helpers/bbfind

> --
> You received this message because you are subscribed to the
> "BBEdit Talk" discussion group on Google Groups.
> To post to this group, send email to bbe...@googlegroups.com (mailto:bbe...@googlegroups.com)
> To unsubscribe from this group, send email to
> bbedit+un...@googlegroups.com (mailto:bbedit+un...@googlegroups.com)
> For more options, visit this group at
> <http://groups.google.com/group/bbedit?hl=en>
> If you have a feature request or would like to report a problem,
> please email "sup...@barebones.com (mailto:sup...@barebones.com)" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Patrick Woolsey

unread,
Apr 24, 2012, 10:36:11 AM4/24/12
to bbe...@googlegroups.com
Fritz Anderson <fri...@manoverboard.org> sez:
[...]

>$ ls -l /usr/bin/bbedit
>lrwxr-xr-x 1 root wheel 53 Sep 12 2011 /usr/bin/bbedit ->
>/Applications/BBEdit.app/Contents/Helpers/bbedit_tool
>
>$ ls /usr/local/bin/bb*
>ls: /usr/local/bin/bb*: No such file or directory
>
>Is this a legacy thing?


Yes; new or clean installs will go into /usr/local/bin


Regards,

Patrick Woolsey
==
Bare Bones Software, Inc. <http://www.barebones.com>
P.O. Box 1048, Bedford, MA 01730-1048

Chris Corwin

unread,
Apr 24, 2012, 7:50:07 AM4/24/12
to BBEdit Talk
On Apr 23, 4:53 pm, Fritz Anderson <fri...@manoverboard.org> wrote:

> If the command isn't there, you're running the App Store version. Bare Bones has a remedial installer at <http://www.barebones.com/support/bbedit/cmd-line-tools.html>.

Ugh.

This solved it.

None of the googling I did brought this to light.

Thanks :)
Reply all
Reply to author
Forward
0 new messages