Notes on installing terminal application on MacOS

The page https://joplinapp.org/terminal/ simply says to install nodeJS 10+.

  1. Mac Ports (port) does not install npm with a nodejs installation; it is not recommended. (Brew does)

  2. Running (per the Joplin docs) "NPM_CONFIG_PREFIX=~/.joplin-bin npm install -g joplin" fails. You need to first do a "mkdir -p $HOME/.joplin-bin/lib" in order for the npm install to succeed. (There may be another way to get the npm install to create the required directories, but I have not investigated).

  3. macOS Catalina and Big Sur do not allow writing to /usr/bin, so the symlink creation "sudo ln -s ~/.joplin-bin/bin/joplin /usr/bin/joplin" will not succeed. I recommend simply adding $HOME/.joplin-bin/bin to your $PATH: "echo export PATH='$PATH:$HOME/.joplin-bin/bin' >> ~/.bashrc"

1 Like

I tried to follow the instructions here, since the original instructions don't work. However, when I tried to run "NPM_CONFIG_PREFIX=~/.joplin-bin npm install -g joplin" I got 15 notices of "deprecated" attempted installations, followed by over 40 "ERR!" messages. (I have the error log, if anyone wants to see it.) Needless to say, the terminal version of Joplin is not installed on my Mac. So, do I give up on it, or does anyone else have any suggestions?

Please open a new support thread, the post you replied to is really old and might no longer be relevant.