I hadn't thought of this approach. Using your example, I created these two 
lines:

sudo ln -s /Users/greg/Library/pnpm/js-beautify /usr/local/bin/js-beautify
sudo ln -s /Applications/ServBay/script/alias/node /usr/local/bin/node

Unfortunately, this did not work either.

I can re-install them with Homebrew, but I was hoping to avoid the 
duplication of having the same code installed by Servbay and by Homebrew 
(in different places, of course).

IMHO, the best approach would be to execute npx commands from BBEdit 
worksheets, so I don't have to install anything. I can't get that to work, 
though.

--- GR
On Monday, March 2, 2026 at 6:15:29 PM UTC-8 Bruce Van Allen wrote:

> I don't use MAMP Pro or Servbay, but I run many executables with BBEdit 
> worksheets, including my own scripts in Perl, shell, Python, and JS, plus 
> utilities I've installed. I usually put symbolic links to them in 
> /usr/local/bin with 
> `sudo ln -s path/to/myscript /usr/local/bin/myscript` 
> so I can call them by name without their whole paths.
>
> So this experience - tangental to yours - leads me to ask:
>
> 1. What answer do you get on the CLI to `which js-beautify`?
>
> 2. How were the utilities you want to use installed? Perhaps re-installing 
> with Homebrew, independent of any dev environment, would do the trick (make 
> sure `which` gets the right one).
>
> 3. Different machine? If you changed Intel -> Apple Silicon/ARM, you 
> probably have a bunch of things to re-install.
>
> HTH
>
> — Bruce
>
> _bruce__van_allen__santa_cruz_ca_
>
>
> > On Mar 2, 2026, at 7:03 AM, Greg Raven <[email protected]> wrote:
> > 
> > I used MAMP Pro for years in my local dev environment, and project 
> worksheet commands (such as, to invoke js-beautify, netlify, and wrangler) 
> worked fine. MAMP Pro's rough edges finally got to me, though, and I 
> switched to Servbay, which in many cases seems to be a superior local 
> environment.
> > 
> > However, even though I have PHP, Python, Node, Rust, and Go installed, 
> worksheet commands that used to allow me to upload files to Netlify or 
> Cloudflare, as well as format JavaScript and JSON files, no longer work. 
> When I try to invoke them, I get either a "js-beautify not found" or "node 
> not found" console error.
> > 
> > I don't mind (too much) having to copy-paste the upload commands, but I 
> miss the JavaScript formatting.
> > 
> > I read the BBEdit documents, tried adding aliases and paths to my .zshrc 
> file, putting the commands in worksheets, trying different command-line 
> syntaxes, etc., but either I'm missing something or this is simply not 
> possible to do, even though the commands do work just fine from the command 
> line.
> > 
> > Anyone else run into this and come up with a solution?
> > 
> > -- 
> > This is the BBEdit Talk public discussion group. If you have a feature 
> request or believe that the application isn't working correctly, please 
> email "[email protected]" rather than posting here. Follow @bbedit on 
> Mastodon: <https://mastodon.social/@bbedit>
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "BBEdit Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected].
> > To view this discussion visit 
> https://groups.google.com/d/msgid/bbedit/73f20fde-982f-422d-bc1d-5cda0849e3b5n%40googlegroups.com
> .
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bbedit/9a572794-251d-410a-9abd-1441f183c7c8n%40googlegroups.com.

Reply via email to