René's URL Explorer Experiment


Title: mongodb - How to add mongo commands to PATH on Mac OSX - Stack Overflow

X Title: How to add mongo commands to PATH on Mac OSX

X Description: I'm using MongoDb 2.6.1 following the material from https://university.mongodb.com/ (great material by the way) but I am not being able to add to my path the mongo commands. I've followed this gu...

Opengraph URL: https://stackoverflow.com/questions/24306398/how-to-add-mongo-commands-to-path-on-mac-osx

direct link

Domain: stackoverflow.com


Hey, it has json ld scripts:
    {
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebSite",
      "@id": "https://stackoverflow.com/#website",
      "name": "Stack Overflow",
      "url": "https://stackoverflow.com",
      "image": "https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded",
      "publisher": {
        "@id": "https://stackoverflow.com/#organization"
      }
    },
    {
      "@type": "Organization",
      "@id": "https://stackoverflow.com/#organization",
      "name": "Stack Overflow",
      "url": "https://stackoverflow.com",
      "logo": "https://stackoverflow.com/Content/Sites/stackoverflow/Img/logo.png?v=e47b208316da",
      "sameAs": [
        "https://stackoverflow.co/",
        "https://www.facebook.com/officialstackoverflow/",
        "https://x.com/stackoverflow",
        "https://www.linkedin.com/company/stack-overflow",
        "https://www.youtube.com/c/StackOverflowOfficial",
        "https://twitter.com/stackoverflow"
      ],
      "contactPoint": [
        {
          "@type": "ContactPoint",
          "contactType": "Customer support",
          "url": "https://stackoverflow.com/contact"
        },
        {
          "@type": "ContactPoint",
          "contactType": "Stack Ads",
          "url": "https://stackoverflow.co/advertising/"
        },
        {
          "@type": "ContactPoint",
          "contactType": "Stack Internal",
          "url": "https://stackoverflow.co/teams/"
        },
        {
          "@type": "ContactPoint",
          "contactType": "Stack Data Licensing",
          "url": "https://stackoverflow.co/api-solutions/"
        }
      ],
      "description": "Q\u0026A for professional and enthusiast programmers"
    }
  ]
}

og:typewebsite
og:site_nameStack Overflow
og:imagehttps://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded
twitter:cardsummary
twitter:domainstackoverflow.com
NoneMarkus W Mahlberg

Links:

Skip to main contenthttp://stackoverflow.com/a/24322978/971592#content
http://stackoverflow.com/a/24322978/971592
Stack Overflow https://stackoverflow.com
About https://stackoverflow.co/
For Teams https://stackoverflow.co/internal/
Stack Internal Implement a knowledge platform layer to power your enterprise and AI tools. https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams
Stack Data Licensing Get access to top-class technical expertise with trusted & attributed content. https://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api
Stack Ads Connect your brand to the world’s most trusted technologist communities. https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising
Releases Keep up-to-date on features we add to Stack Overflow and Stack Internal. https://stackoverflow.blog/releases/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=releases
About the companyhttps://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company
Visit the bloghttps://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog
current communityhttps://stackoverflow.com
Stack Overflow https://stackoverflow.com
helphttps://stackoverflow.com/help
chathttps://chat.stackoverflow.com/?tab=explore
Meta Stack Overflow https://meta.stackoverflow.com
Sign uphttps://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f24306398%2fhow-to-add-mongo-commands-to-path-on-mac-osx%2f24322978
log inhttps://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f24306398%2fhow-to-add-mongo-commands-to-path-on-mac-osx%2f24322978
more stack exchange communitieshttps://stackexchange.com/sites
company bloghttps://stackoverflow.blog
Log inhttps://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f24306398%2fhow-to-add-mongo-commands-to-path-on-mac-osx%2f24322978
Sign uphttps://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f24306398%2fhow-to-add-mongo-commands-to-path-on-mac-osx%2f24322978
Home http://stackoverflow.com/
Questions http://stackoverflow.com/questions
AI Assist https://stackoverflow.com/ai-assist
Tags http://stackoverflow.com/tags
Challenges http://stackoverflow.com/beta/challenges
Chat https://chat.stackoverflow.com/?tab=explore
Articles https://stackoverflow.blog/contributed?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=so-blog&utm_content=experiment-articles
Users http://stackoverflow.com/users
Jobs http://stackoverflow.com/jobs?source=so-left-nav
Companies https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav
Collectives javascript:void(0)
Explore all Collectiveshttp://stackoverflow.com/collectives-all
Try for freehttps://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams
Learn morehttps://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams
Stack Internal javascript:void(0)
Learn morehttps://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact
Learn more about Collectives http://stackoverflow.com/collectives
Explore Stack Internal https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact-popover
How to add mongo commands to PATH on Mac OSXhttp://stackoverflow.com/questions/24306398/how-to-add-mongo-commands-to-path-on-mac-osx
Ask Question http://stackoverflow.com/questions/ask
11 years, 8 months agohttp://stackoverflow.com/a/24322978/971592?lastactivity
http://stackoverflow.com/posts/24306398/timeline
https://university.mongodb.com/https://university.mongodb.com/
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/
mongodbhttp://stackoverflow.com/questions/tagged/mongodb
Sharehttp://stackoverflow.com/q/24306398
Improve this questionhttp://stackoverflow.com/posts/24306398/edit
http://stackoverflow.com/users/2045079/code4jhon
code4jhonhttp://stackoverflow.com/users/2045079/code4jhon
Markus W Mahlberghttp://stackoverflow.com/users/1296707/markus-w-mahlberg
Add a comment http://stackoverflow.com/a/24322978/971592
http://stackoverflow.com/a/24322978/971592
Reset to default http://stackoverflow.com/questions/24306398/how-to-add-mongo-commands-to-path-on-mac-osx?answertab=scoredesc#tab-top
http://stackoverflow.com/posts/24322978/timeline
bash's manpagehttp://linux.die.net/man/1/bash
Sharehttp://stackoverflow.com/a/24322978
Improve this answerhttp://stackoverflow.com/posts/24322978/edit
edited Jun 20, 2014 at 14:15http://stackoverflow.com/posts/24322978/revisions
http://stackoverflow.com/users/1296707/markus-w-mahlberg
Markus W Mahlberghttp://stackoverflow.com/users/1296707/markus-w-mahlberg
http://stackoverflow.com/users/2045079/code4jhon
code4jhonhttp://stackoverflow.com/users/2045079/code4jhon
Over a year agohttp://stackoverflow.com/a/24322978/971592#comment37605354_24322978
http://stackoverflow.com/users/1290102/pixel-67
pixel 67http://stackoverflow.com/users/1290102/pixel-67
Over a year agohttp://stackoverflow.com/a/24322978/971592#comment100459696_24322978
http://stackoverflow.com/users/4613549/rub%c3%a9n-s-garc%c3%ada
Rubén S. Garcíahttp://stackoverflow.com/users/4613549/rub%c3%a9n-s-garc%c3%ada
Over a year agohttp://stackoverflow.com/a/24322978/971592#comment119598147_24322978
http://stackoverflow.com/a/24322978/971592
tips on writing great answershttp://stackoverflow.com/help/how-to-answer
log inhttp://stackoverflow.com/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f24306398%2fhow-to-add-mongo-commands-to-path-on-mac-osx%23new-answer
terms of servicehttps://stackoverflow.com/legal/terms-of-service/public
privacy policyhttps://stackoverflow.com/legal/privacy-policy
Ask questionhttp://stackoverflow.com/questions/ask
mongodbhttp://stackoverflow.com/questions/tagged/mongodb
Data is the new oil, and your database is the only way to extract ithttps://stackoverflow.blog/2026/02/17/data-is-the-new-oil/
Even GenAI uses Wikipedia as a sourcehttps://stackoverflow.blog/2026/02/20/even-genai-uses-wikipedia-as-a-source/
All users on Stack Exchange can now participate in chathttps://meta.stackexchange.com/questions/417109/all-users-on-stack-exchange-can-now-participate-in-chat
Logo updates to Stack Overflow's visual identityhttps://meta.stackexchange.com/questions/417394/logo-updates-to-stack-overflows-visual-identity
Policy: Generative AI (e.g., ChatGPT) is bannedhttps://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned
New site design and philosophy for Stack Overflow: Starting February 24, 2026...https://meta.stackoverflow.com/questions/438177/new-site-design-and-philosophy-for-stack-overflow-starting-february-24-2026-at
0 http://stackoverflow.com/questions/55167880/export-and-import-mongodb
Export and import MongoDBhttp://stackoverflow.com/questions/55167880/export-and-import-mongodb?noredirect=1
61 http://stackoverflow.com/questions/10203589/cant-use-mongo-command-shows-command-not-found-on-mac
Can't use mongo command, shows command not found on machttp://stackoverflow.com/questions/10203589/cant-use-mongo-command-shows-command-not-found-on-mac
1 http://stackoverflow.com/questions/19690814/mongo-command-not-found-on-mac-osx-even-though-its-in-the-path
mongo: command not found on Mac OSX even though it's in the PATHhttp://stackoverflow.com/questions/19690814/mongo-command-not-found-on-mac-osx-even-though-its-in-the-path
40 http://stackoverflow.com/questions/21448268/how-to-set-mongod-dbpath
how to set mongod --dbpathhttp://stackoverflow.com/questions/21448268/how-to-set-mongod-dbpath
35 http://stackoverflow.com/questions/22862808/mongod-command-not-found-os-x
Mongod: Command Not Found (OS X)http://stackoverflow.com/questions/22862808/mongod-command-not-found-os-x
20 http://stackoverflow.com/questions/28267773/how-do-i-ensure-that-mongo-binaries-are-in-my-path-in-my-shell-rc-bashrc
How do I ensure that Mongo binaries are in my PATH - in my shell' rc (~/.bashrc) on a Machttp://stackoverflow.com/questions/28267773/how-do-i-ensure-that-mongo-binaries-are-in-my-path-in-my-shell-rc-bashrc
1 http://stackoverflow.com/questions/35972120/cant-put-mongodb-in-my-path
Can't put MongoDB in my PATHhttp://stackoverflow.com/questions/35972120/cant-put-mongodb-in-my-path
1 http://stackoverflow.com/questions/36674189/unable-to-set-mongod-path
Unable to set "mongod" PATHhttp://stackoverflow.com/questions/36674189/unable-to-set-mongod-path
0 http://stackoverflow.com/questions/42617102/setting-mongodb-editor-path-in-mongorc-on-mac
Setting mongodb editor path in .mongorc on machttp://stackoverflow.com/questions/42617102/setting-mongodb-editor-path-in-mongorc-on-mac
10 http://stackoverflow.com/questions/45739433/bash-mongo-command-not-found
bash: mongo: command not foundhttp://stackoverflow.com/questions/45739433/bash-mongo-command-not-found
2 http://stackoverflow.com/questions/58276414/command-not-found-mongo-after-its-installed-os-x
command not found: mongo, after it's installed (OS X)http://stackoverflow.com/questions/58276414/command-not-found-mongo-after-its-installed-os-x
Hot Network Questions https://stackexchange.com/questions?tab=hot
Is it common to use time series and OLS at the same time? https://stats.stackexchange.com/questions/674880/is-it-common-to-use-time-series-and-ols-at-the-same-time
How to deal with a programmer who acts as a proxy for AI? https://softwareengineering.stackexchange.com/questions/460875/how-to-deal-with-a-programmer-who-acts-as-a-proxy-for-ai
Identify tv episode, everyone's got a brain chip - except one man who ultimately must destroy it https://scifi.stackexchange.com/questions/303324/identify-tv-episode-everyones-got-a-brain-chip-except-one-man-who-ultimately
Weak convergence of probability measures and a decreasing sequence of neighborhoods https://math.stackexchange.com/questions/5125426/weak-convergence-of-probability-measures-and-a-decreasing-sequence-of-neighborho
How to add `.srt` subtitles to an `.mkv` container using `ffmpeg`? https://superuser.com/questions/1935090/how-to-add-srt-subtitles-to-an-mkv-container-using-ffmpeg
Wrap a leafy plant onto a dodecahedron https://puzzling.stackexchange.com/questions/137104/wrap-a-leafy-plant-onto-a-dodecahedron
Find the outcome of a Cortex Prime dice roll https://codegolf.stackexchange.com/questions/287387/find-the-outcome-of-a-cortex-prime-dice-roll
Circular Linked List Implementation https://codereview.stackexchange.com/questions/301377/circular-linked-list-implementation
Interpreting Adjective + Noun Phrases Where the Adjective Doesn’t Directly Describe the Noun https://ell.stackexchange.com/questions/374023/interpreting-adjective-noun-phrases-where-the-adjective-doesn-t-directly-descr
Does copyright protection differ between an original script and a TV series adapted from it, and can the copyright owners differ? https://law.stackexchange.com/questions/114186/does-copyright-protection-differ-between-an-original-script-and-a-tv-series-adap
How to use positional index when using MapIndexed over Association? https://mathematica.stackexchange.com/questions/318782/how-to-use-positional-index-when-using-mapindexed-over-association
Is there a better way to define this piecewise function? https://mathematica.stackexchange.com/questions/318780/is-there-a-better-way-to-define-this-piecewise-function
When are Closure nodes necessary in Geometry Nodes compared to Node Groups? https://blender.stackexchange.com/questions/345238/when-are-closure-nodes-necessary-in-geometry-nodes-compared-to-node-groups
Are Rakshasa part of the infernal hierarchy? https://rpg.stackexchange.com/questions/218822/are-rakshasa-part-of-the-infernal-hierarchy
What does the height of the curve represent in normal distribution? https://math.stackexchange.com/questions/5125381/what-does-the-height-of-the-curve-represent-in-normal-distribution
Can we run out of PNR codes? https://travel.stackexchange.com/questions/203296/can-we-run-out-of-pnr-codes
Seeming inconsistency between methods in derivation of equations for physical pendulum https://physics.stackexchange.com/questions/869310/seeming-inconsistency-between-methods-in-derivation-of-equations-for-physical-pe
What is the difference between 'in that..' and 'in + Gerund'? https://english.stackexchange.com/questions/639042/what-is-the-difference-between-in-that-and-in-gerund
GPL-3.0 from choosingalicense.com feels as if it's missing parts https://opensource.stackexchange.com/questions/15708/gpl-3-0-from-choosingalicense-com-feels-as-if-its-missing-parts
Is computation and information part of epistemology? https://philosophy.stackexchange.com/questions/136399/is-computation-and-information-part-of-epistemology
Was gassing of pet dogs on the Chagos Islands in the 1960s/1970s an intimidation tactic? https://history.stackexchange.com/questions/79868/was-gassing-of-pet-dogs-on-the-chagos-islands-in-the-1960s-1970s-an-intimidation
How to construct two compact, uncountable, disjoint subsets of an uncountable compact metric space? https://math.stackexchange.com/questions/5125456/how-to-construct-two-compact-uncountable-disjoint-subsets-of-an-uncountable-co
How to make good use of built-in Japanese sequence in `luatexja-otf` named `\ajKakuHira`-family in `luatexja-ajmacros.sty`? https://tex.stackexchange.com/questions/759953/how-to-make-good-use-of-built-in-japanese-sequence-in-luatexja-otf-named-ajk
Video Temporal Segmentation for Vision Language Model Processing https://codereview.stackexchange.com/questions/301365/video-temporal-segmentation-for-vision-language-model-processing
more hot questions http://stackoverflow.com/a/24322978/971592
Question feed http://stackoverflow.com/feeds/question/24306398
http://stackoverflow.com/a/24322978/971592
https://stackoverflow.com
Stack Overflowhttps://stackoverflow.com
Questionshttp://stackoverflow.com/questions
Helphttp://stackoverflow.com/help
Chathttps://chat.stackoverflow.com/?tab=explore
Businesshttps://stackoverflow.co/
Stack Internalhttps://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams
Stack Data Licensinghttps://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=data-licensing
Stack Adshttps://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising
Companyhttps://stackoverflow.co/
Abouthttps://stackoverflow.co/
Presshttps://stackoverflow.co/company/press/
Work Herehttps://stackoverflow.co/company/work-here/
Legalhttps://stackoverflow.com/legal
Privacy Policyhttps://stackoverflow.com/legal/privacy-policy
Terms of Servicehttps://stackoverflow.com/legal/terms-of-service/public
Contact Ushttp://stackoverflow.com/contact
Cookie Policyhttps://policies.stackoverflow.co/stack-overflow/cookie-policy
Stack Exchange Networkhttps://stackexchange.com
Technology https://stackexchange.com/sites#technology
Culture & recreation https://stackexchange.com/sites#culturerecreation
Life & arts https://stackexchange.com/sites#lifearts
Science https://stackexchange.com/sites#science
Professional https://stackexchange.com/sites#professional
Business https://stackexchange.com/sites#business
API https://api.stackexchange.com/
Data https://data.stackexchange.com/
Bloghttps://stackoverflow.blog?blb=1
Facebookhttps://www.facebook.com/officialstackoverflow/
Twitterhttps://twitter.com/stackoverflow
LinkedInhttps://linkedin.com/company/stack-overflow
Instagramhttps://www.instagram.com/thestackoverflow
CC BY-SAhttps://stackoverflow.com/help/licensing

Viewport: width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0


URLs of crawlers that visited me.