Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?

I was watching this, and, as you can see, the first command I am told to put in is: sudo apt-get install python-setuptools When I do this, it outputs: sudo: apt-get: command not found I have no idea why this is the case. How can I resolve this so I am following the tutorial correctly? … Read more

Why use peer dependencies in npm for plugins?

Why does, for example, a Grunt plugin define its dependency on grunt as “peer dependencies“? Why can’t the plugin just have Grunt as its own dependency in grunt-plug/node_modules? Peer dependencies are described here: https://nodejs.org/en/blog/npm/peer-dependencies/ But I don’t really get it. Example I’m working with AppGyver Steroids at the moment which uses Grunt tasks to build … Read more

How do I update/upgrade pip itself from inside my virtual environment?

I’m able to update pip-managed packages, but how do I update pip itself? According to pip –version, I currently have pip 1.1 installed in my virtualenv and I want to update to the latest version. What’s the command for that? Do I need to use distribute or is there a native pip or virtualenv command? … Read more

How to list npm user-installed packages?

How do I list the user-installed / envirorment package ONLY in npm? When I do npm -g list it outputs every package and their dependencies, instead I’d like to see the packages installed in the current working project or envirorment. 17 s 17 npm list -g –depth=0 npm: the Node package manager command line tool … Read more