ChunkWM suggests cding into directory that does not exist ~/Library/LaunchAgents When trying to install chunkwm, with MacPorts, I'm getting an instruction to,


  
  Symlink prepared agent and start it:

cd ~/Library/LaunchAgents
ln -s /opt/local/Library/LaunchAgents/com.koekeishiya.chunkwm.plist
launchctl load -w ~/Library/LaunchAgents/com.koekeishiya.chunkwm.plist

  


However, I don't have a ~/Library/LaunchAgents. What do I do? I know I can create the directory with mkdir, but  I have no idea what that directory structure entails. My LaunchAgents in it /System/Library/LaunchAgents. The last time I put something in ~/ (Xcode) I found out much later that it needed to be in /Applications instead (and that it wasn't "installed" unless it was in /Applications. I'm wondering if this path was for an older version of MacOS?

Also, can I just launchctl from 

launchctl load -w /opt/local/Library/LaunchAgents/com.koekeishiya.chunkwm.plist


Why does it want this to be in the home directory?

I checked in the MacPorts FAQ, and this isn't mentioned.
From man launchd:

FILES
 ~/Library/LaunchAgents         Per-user agents provided by the user.
 /Library/LaunchAgents          Per-user agents provided by the adminis-
                                trator.
 /Library/LaunchDaemons         System-wide daemons provided by the admin-
                                istrator.
 /System/Library/LaunchAgents   Per-user agents provided by Mac OS X.
 /System/Library/LaunchDaemons  System-wide daemons provided by Mac OS X.


So user-specific agents should be in ~/Library/LaunchAgents. If the directory doesn't exist it can be created with mkdir ~/Library/LaunchAgents.