How to install bolt.diy on Mac

Every video I saw is to install on Windows, the one to install on Mac doesnt show the steps completed…
I have got error after errors, ask help on ChatGPT and still error after errors.
Need to see visually if is my Terminal or what can be to have errors in every single process.

I have installed latest Node.js LTS and after that nothing can be done.

I have tried to use Docker with this command

“docker build . GitHub - stackblitz-labs/bolt.diy: Prompt, run, edit, and deploy full-stack web applications using any LLM you want!

and got another error

"ERROR: “docker buildx build” requires exactly 1 argument.
See ‘docker buildx build --help’.

Usage: docker buildx build [OPTIONS] PATH | URL | -

Start a build"

and after use “docker-compose --profile development up”
it says “no configuration file provided: not found”

what are the errors when you try to install manually? can you just do a little screencast for the whole install process? or at least screenshots?

should work without problems normally with these steps:

  1. nodejs installed in version 22
  2. git clone …
  3. cd bolt.diy
  4. pnpm install
  5. pnpm run dev

I have found one bolt.diy on Docker and got this link

2025-01-07 21:46:00 [wrangler:inf] Ready on http://0.0.0.0:5173

but the page doesnt show anything, another error
“ERR_CONNECTION_REFUSED”

Thank you for the reply,

on 1. is the latest one and I beleive is installed right.
when run ‘npm install -g pnpm’
I got this
npm error code EACCES

npm error syscall rename

npm error path /usr/local/lib/node_modules/pnpm

npm error dest /usr/local/lib/node_modules/.pnpm-LW2coPit

npm error errno -13

npm error Error: EACCES: permission denied, rename ‘/usr/local/lib/node_modules/pnpm’ → ‘/usr/local/lib/node_modules/.pnpm-LW2coPit’

npm error at async Object.rename (node:internal/fs/promises:783:10)

npm error at async moveFile (/usr/local/lib/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js:30:5)

npm error at async Promise.allSettled (index 0)

npm error at async [reifyPackages] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:325:11)

npm error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5)

npm error at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5)

npm error at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)

npm error at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5) {

npm error errno: -13,

npm error code: ‘EACCES’,

npm error syscall: ‘rename’,

npm error path: ‘/usr/local/lib/node_modules/pnpm’,

npm error dest: ‘/usr/local/lib/node_modules/.pnpm-LW2coPit’

npm error }

npm error

npm error The operation was rejected by your operating system.

npm error It is likely you do not have the permissions to access this file as the current user

npm error

npm error If you believe this might be a permissions issue, please double-check the

npm error permissions of the file and its containing directories, or try running

npm error the command again as root/Administrator.

npm error A complete log of this run can be found in: /Users/ricardoferreira/.npm/_logs/2025-01-07T21_53_12_529Z-debug-0.log’

When I use ‘pnpm install’
I got this ’ ERR_PNPM_NO_PKG_MANIFEST No package.json found in /Users/ricardoferreira’

did you run it as root? if not, I guess you have to

as said in the error almost at the end
:wink:

Just open the terminal normally and run the command there, also I have tried with sudo and got this
'changed 1 package in 1s

1 package is looking for funding
run npm fund for details’

and same error when using the command to install

please post screenshots of what you doing. I think you miss something or wrong commands

I have reopen the Terminal and run the command
‘npm install -g pnpm’ and ‘sudo npm install -g pnpm’

looks ok so far. go on with pnpm install

but make sure you are in the cloned repo (the correct directory. at the moment you are not. you are in home)

@leex279 Thomas - just to be clear. I’d say Ricardo is an absolute beginner. I think I actually put together a step by step guide for myself on my Mac before moving back to this PC a few weeks ago. I’ll dig it out and post it here. It includes some tasks that had me stumped also.

Rocardo. Read the following link. The npm fund will display resources that built much of the open sourced code you’ve just downloaded/accessed for free. It’s a reminder that if you have a few $$$ you can send it their way to help them continue to supply these resources. Nothing’s truly free in this world. But we try…

What does ‘x packages are looking for funding’ mean when running npm install?

Can I ask if you understood the last comment from Thomas…??

I’ll dig out this guide from my Mac later today. It deff has some reminders I think will assist you.

1 Like

In my view the steps should be identically to Linux install. Nothing special for Mac, but can also verify later on the laptop of my wife.

But wanted to wait for feedback of @ferreirex cause I think there is no issue when clean install again (the problem was only the sudo pnpm not installed)

Yes agree. But I also there’s some fundamentals he’s missing like understanding he has to be in the correct directory/folder to run the npm commands. Do you get where I’m coming from…?

Ok, yeah dont know. Hard to see where exactly people have problems. I also thought about doing Mac OS Install Youtube Video, but did not get feedback if this is needed/wanted.

Regarding where to run => this is always the same, as on windows where I did a video.

before I have open the terminal inside folder of the download repo and run the same command but got the same problems

You right , I’m completly beginner on this, and just found one video that have worked for me.

I will do, I beleive this will be one of the greatest tools ever made and supporting all this AI is a mind blowing.

The video I have found:

Sorry for this, but I have tried like the tutorial, I have used ChatGPT to help me, I have tried in a few different ways and always have some kind of error.

I beleive for beguiner like me this video is very easy to follow and get this installed and ready to use.

Maybe is only on mine computer but doesnt run on Safari browser as run on Chrome.

1 Like

Perfect, just decided to to also a video on it cause you are not the only one having problems here.

Safari is not supportet at the moment. Just Chrome.

2 Likes

thank you :slight_smile: :pray:

One maybe silly question, all the time I turn off the computer do I need to run the “pnpm run dev” in the specific folder?

np

yes, cause this mainly a dev-server. We consider to provide an PWA (standalone webapplication) in the future, but at the moment you would need to e.g. write a start up script to run it on autostart.

Question: On the video you postet, the guy did not show how to install nodenjs, didnt he?

1 Like

Exelent question, I just have jump now to check the video again, as I have already installed I have jump to the part where he install the bolt.diy.
I just have another look and he doesnt show to install the nodejs.