I am trying to install Mongoose OS (I’m a complete newbie to Mongoose). I’ve followed the instructions here, but I get “Permission denied” when creating directories:
georgeboydratcliff@MacBook ~ % curl -fsSL https://mongoose-os.com/downloads/mos/install.sh | /bin/bash mos
Installing libftdi1.2.dylib ...
mkdir: /usr/local/opt/libftdi/lib: Permission denied
curl: (23) Failed writing body (0 != 16096)
Installing libusb-1.0.0.dylib ...
mkdir: /usr/local/opt/libusb/lib: Permission denied
curl: (23) Failed writing body (0 != 16094)
Downloading https://mongoose-os.com/downloads/mos-release/mac/mos ...
######################################################################## 100.0%
Installing into /Users/georgeboydratcliff/.mos/bin/mos ...
Adding /Users/georgeboydratcliff/.mos/bin to your PATH in /Users/georgeboydratcliff/.profile
dyld: Library not loaded: /usr/local/opt/libftdi/lib/libftdi1.2.dylib
Referenced from: /Users/georgeboydratcliff/.mos/bin/mos
Reason: image not found
/bin/bash: line 69: 66932 Abort trap: 6 $FULLPATH version
SUCCESS: /Users/georgeboydratcliff/.mos/bin/mos is installed.
Run '/Users/georgeboydratcliff/.mos/bin/mos --help' to see all available commands.
Run '/Users/georgeboydratcliff/.mos/bin/mos' without arguments to start a simplified Web UI installer.
zsh: command not found: mos
georgeboydratcliff@MacBook ~ %
I’ve tried running under sudo too, but same errors.
Any ideas? I’ve come from Arduino IDE and PlatformIO, and really want to try Mongoose!
Thanks in advance
George