I have the newest Mac OS 10.12.3. With the new rootless system Apple has implemented, I can't create a symbolic link using
/usr/bin. My goal is so that I can use
subl in terminal. How can I do this?
The default directory for third-party executables in macOS is /usr/local/bin. Since this directory already is in the PATH you don't have to modify anything except sudo linking the executable to this dir.
If the directory doesn't exist, create it with
sudo mkdir /usr/local/bin. If you plan to install brew later, it's recommended to change the owner of the bin folder to your user.
Basically you symlink it. See this answer on github gist https://gist.github.com/artero/1236170