A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Write for DigitalOcean
You get paid, we donate to tech non-profits.
Find and meet other developers in your city.
Contribute to Open Source
Users-MacBook-Air:~ user$ apt-get update
-bash: apt-get: command not found
You're need first to connect to your "server machine" e.g. droplet. Read this.
If you want use human-oriented package & dependency manager on OS X there is no alternative but http://brew.sh/
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
You're on your macbook, not your droplet.
what is droplet?
@navalkishoregr A Droplet is what DigitalOcean calls a VPS, much like how some refer to them as Cloud Servers, Cloud Instances etc.
As for the apt-get command, this is native to Ubuntu & Debian Operating Systems. OSX, Apples' OS, using the installer command, IIRC.