"sudo apt-get install" on OS X Mavericks
If I understand correctly, you just want a package manager.

apt-get is just an interface for Aptitude, a deb packaging system. DEB isn't tied into Mac OS like it would be your average Linux distro, so you'd need an alternative.

Fink will do this on its own, other alternatives are MacPorts or Homebrew.

If your goal is to be able to execute a command, say like (something) install program and it'll install the program and its dependencies for you, either of these three will do that for you.

I'd personally suggest Homebrew. http://brew.sh/