mongodb - Can mongod be executed without switching to directories where it is downloaded -


i using mac.and execute mongodb going downloads/mongodb/bin folder , execute mongodb file, can directly execute out going downloads/mongodb/bin ?

the whole process pretty covered in mongodb documentation:

what suggest export installation directory path environment variable so:

export path=<mongodb-install-directory>/bin:$path 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -