when you see this on Mac? just follow me~

emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
emacsclient: No socket or alternate editor.  Please use:
    --server-file      (or environment variable EMACS_SERVER_FILE)
    --alternate-editor (or environment variable ALTERNATE_EDITOR)

i solved like this.

ln -s /Applications/Emacs.app/Contents/MacOS/bin/emacsclient ect

기본 emacsclient가 바라보는 소켓이 틀린가?