If El Capitan is the wave of the future with Apple computers, it has already changed the way we develop. It changes our developer workflow. It is forcing the hand of so many an open source software that developers currently depend on. For instance, in the case of nodejs and npm, El Capitan still permits administrator control of /usr/local/bin, which means that we can still install our favorite plugins as dev dependencies, but we can no longer do -g installs. We are denied the permission to do so because of something called System Integrity Protection. System Integrity Protection is something new that comes with El Capitan. Because I had been so used to the status quo with all things Mac and the freedom to do whatever I wanted, I was not aware of this El Capitan feature. However, I was aware of what eventually happens when you don’t update to the latest version of the latest operating system. Eventually things simply don’t work. I also have learned it’s best practice to keep up to date with the latest updates for security reasons. I do understand why Apple has added this feature to the OS operating system. That’s great. But what’s not great is that all that software that we love so dearly and use on a daily basis hasn’t caught up with Apple. And the thing is, a vast majority of the developer world is on Mac. If Apple continues to move in this direction and all that software does not adapt to these changes in OS, will they remain loyal to Apple, or will they switch over to Windows? I personally love Apple no matter what. I love the UI. And of course there are always work arounds. But to have to implement them temporarily all the time does make the workflow difficult.
The only reason why I didn’t feel a change until recently is because I didn’t make a change until recently. What do you think about Apple’s new direction with El Capitan? I would love to know. I am sure you would too.
Fixing npm permissions Maria D. Campbell, August 4, 2016
*Fixing npm permissions (I personally went with option 2 and skipped steps 2-4)
Fixing npm On Mac OS X for Homebrew Users (solution not recommended)
*Denotes official npm documentation.