{"id":2467,"date":"2017-01-18T19:28:39","date_gmt":"2017-01-18T19:28:38","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2467"},"modified":"2025-06-13T19:58:45","modified_gmt":"2025-06-14T02:58:45","slug":"getting-comfortable-couchbase-mobile-installing-sync-gateway","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/","title":{"rendered":"Getting Comfortable with Couchbase Mobile: Installing Sync Gateway"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter\" style=\"max-width: 100%\" src=\"\/wp-content\/original-assets\/2016\/december\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/couchbase-mobile-stack_1920.png\" alt=\"The Couchbase Mobile Stack\" align=\"middle\" \/><\/p>\n<h2 id=\"introduction\">Introduction<\/h2>\n<p>In this fourth post about the <a href=\"https:\/\/www.couchbase.com\/developers\/mobile\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Couchbase Mobile<\/a> stack, we\u2019ll go over installing <a href=\"https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/guides\/sync-gateway\/index.html?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Sync Gateway<\/a>.<br \/>\nLook for other posts in my \u201cGetting Comfortable with Couchbase Mobile\u201d series to learn everything you need to get the whole Couchbase Mobile stack up and running on your development machine. \u00a0(Links provided at the end.)<\/p>\n<h2 id=\"background\">Background<\/h2>\n<p>To get comfortable with the whole stack, it\u2019s great to install and run everything on one machine. In this series of posts, I\u2019ll walk through the steps get to started with each component. I\u2019ll show how to do a little extra exploring along the way, too.<\/p>\n<p>I\u2019ll only do minimal configuration. This is not intended to explain what you need for a production environment. I assume you\u2019re familiar with some basics of NoSQL, have some understanding of Couchbase, and know how to build apps in something like Java,<br \/>\nAndroid, or iOS. If you want to read up on NoSQL databases or Couchbase, you can find lots of resources on the <a href=\"https:\/\/www.couchbase.com\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Couchbase<\/a> site.<\/p>\n<p>Couchbase is open-source. Everything I\u2019ll use here is free to try out. See the end of the post for more resources if you need help.<\/p>\n<h2 id=\"sync-gateway\">Sync Gateway<\/h2>\n<p>Sync Gateway is a secure web gateway application with synchronization, REST, stream, batch and event APIs for accessing and synchronizing data over the web. Sync Gateway enables, among other things, secure data replication between Couchbase Server and<br \/>\nCouchbase Lite.<\/p>\n<p>Sync Gateway has few dependencies, and can run on most Linux distributions (even on the Raspberry Pi), Windows, and OSX\/macOS. The specific steps for installation vary with platform. See the <a href=\"https:\/\/www.couchbase.com\/nosql-databases\/downloads#couchbase-mobile&amp;utm_medium=link&amp;utm_campaign=blogs\">downloads<\/a> site for all the available packages, and the <a href=\"https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/installation\/sync-gateway\/index.html?utm_medium=link&amp;utm_campaign=blogs\">full installation guide<\/a> for complete details. To install<br \/>\non Linux distributions other than the supported ones, see <a href=\"https:\/\/www.couchbase.com\/blog\/installing-sync-gateway-alternate-linux-distributions\/\">this post<\/a>.<\/p>\n<p>I will walk through a simplified installation on OSX next.<\/p>\n<h3 id=\"osx\">OSX<\/h3>\n<h3 id=\"initial-installation-steps\">Initial Installation Steps<\/h3>\n<p>To install Sync Gateway, first download the gzipped tar file for Mac <a href=\"https:\/\/www.couchbase.com\/nosql-databases\/downloads#couchbase-mobile&amp;utm_medium=link&amp;utm_campaign=blogs\">here<\/a>. You\u2019ll get a file named something like couchbase-sync-gateway-enterprise_1.3.1.1-1_x86_64.tar.gz.<\/p>\n<p>Unpack the archive, either by double-clicking on the file in Finder, or, from the command line, using the following:<\/p>\n<pre><code class=\"language-bash\">$ tar xzf couchbase-sync-gateway-enterprise_1.3.1.1-1_x86_64.tar.gz<\/code><\/pre>\n<p>This creates a number of files. We\u2019ll only be concerned with the sync_gateway binary and the example configuration files.<\/p>\n<p>Open a command line shell (e.g. Terminal). Change your working directory to the location where you unpacked the archive. In my case, I put them under my home directory in <code>workspace\/servers\/couchbase-sync-gateway<\/code>.<\/p>\n<pre><code class=\"language-bash\">$ cd ~\/workspace\/servers\/couchbase-sync-gateway<\/code><\/pre>\n<p>Start Sync Gateway running using one of the example configuration files.<\/p>\n<pre><code class=\"language-bash\">$ .\/bin\/sync_gateway examples\/basic-couchbase-bucket.json<\/code><\/pre>\n<p>You should see output that looks something like this:<\/p>\n<pre><code>2016-09-15T15:07:13.356-07:00 Enabling logging: [*]\r\n2016-09-15T15:07:13.356-07:00 ==== Couchbase Sync Gateway\/1.3.1(16;f18e833) ====\r\n...\r\n2016-09-15T15:07:13.535-07:00 Starting admin server on 127.0.0.1:4985\r\n2016-09-15T15:07:13.539-07:00 Starting server on :4984 ...\r\n2016-09-15T15:07:14.659-07:00 Changes+: Notifying that \"default\" changed (keys=\"{_sync:user:}\") count=2<\/code><\/pre>\n<p>That\u2019s all it takes to get Sync Gateway up and going. The example configuration file I used here has the settings you need to use the other examples I will give in this and the related blogs.<\/p>\n<p>This one requires you have Couchbase Server up and running at the same time. \u00a0If you want to try Sync Gateway running stand alone, use<\/p>\n<pre class=\"lang:default decode:true \">$ .\/bin\/sync_gateway examples\/basic-walrus-bucket.json<\/pre>\n<p>instead.<\/p>\n<h3 id=\"checking-your-installation\">Checking Your Installation<\/h3>\n<p>To verify Sync Gateway is running, you can do a couple of things.<br \/>\nFrom the command line, use <code>curl<\/code> to check the welcome message as follows:<\/p>\n<pre><code class=\"language-bash\">$ curl localhost:4985<\/code><\/pre>\n<p>You should see output that looks something like this:<\/p>\n<pre><code class=\"language-http\">HTTP\/1.1 200 OK\r\nContent-Length: 144\r\nContent-Type: application\/json\r\nDate: Thu, 15 Sep 2016 22:09:54 GMT\r\nServer: Couchbase Sync Gateway\/1.3.1\r\n\r\n{\r\n    \"ADMIN\": true,\r\n    \"couchdb\": \"Welcome\",\r\n    \"vendor\": {\r\n        \"name\": \"Couchbase Sync Gateway\",\r\n        \"version\": 1.3\r\n    },\r\n    \"version\": \"Couchbase Sync Gateway\/1.3.1(16;f18e833)\"\r\n}<\/code><\/pre>\n<p>Access the administrative interface by navigating in a browser to <a href=\"https:\/\/localhost:4985\/_admin\/\">https:\/\/localhost:4985\/_admin\/<\/a>.<\/p>\n<p>You\u2019ll see this top level page:<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" style=\"max-width: 100%\" src=\"\/wp-content\/original-assets\/2016\/december\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/sg.admin.welcome.png\" alt=\"Sync Gateway Admin Interface Welcome\" align=\"middle\" \/><\/p>\n<p>If you click on db under the database list, you\u2019ll see this page:<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" style=\"max-width: 100%\" src=\"\/wp-content\/original-assets\/2016\/december\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/sg.admin.db.png\" alt=\"Sync Gateway Admin Interface Database View\" align=\"middle\" \/><\/p>\n<p>The links here will allow you to see quite a lot of interesting information while Sync Gateway is running. We\u2019ll explore more when we look at the full stack operating together.<\/p>\n<h3 id=\"useful-links\">Useful Links<\/h3>\n<p>Finally, here are some other pages to explore to find out more about Sync Gateway.<\/p>\n<p><a href=\"https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/installation\/sync-gateway\/index.html?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/installation\/sync-gateway\/index.html<\/a><\/p>\n<p><a href=\"https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/guides\/sync-gateway\/index.html?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/guides\/sync-gateway\/index.html<\/a><\/p>\n<p><a href=\"https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/references\/sync-gateway\/rest-common\/index.html?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/references\/sync-gateway\/rest-common\/index.html<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/couchbase\/sync_gateway\/wiki?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">https:\/\/github.com\/couchbase\/sync_gateway\/wiki<\/a><\/p>\n<h2 id=\"next-steps\">Next Steps<\/h2>\n<p>In the next post in this series I\u2019ll show some ways to work with Sync Gateway from the command line. This will help both under how Sync Gateway works, and give you some tools for diagnosing common problems and mistakes. Then we\u2019ll look at a sample app using Couchbase Lite. Finally, we\u2019ll use that sample app to loop back and see how everything ties together.<\/p>\n<p>[buttongroup][button style=&#8221;btn-link btn-lg&#8221; icon=&#8221;fa fa-arrow-left&#8221; align=&#8221;left&#8221; iconcolor=&#8221;#dd3333&#8243; type=&#8221;link&#8221; target=&#8221;false&#8221; title=&#8221;Previous: Couchbase Server via the Command Line&#8221; link=&#8221;https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-couchbase-server-command-line\/&#8221; linkrel=&#8221;&#8221;][button style=&#8221;btn-link btn-lg&#8221; icon=&#8221;fa fa-arrow-right&#8221; align=&#8221;left&#8221; iconcolor=&#8221;#dd3333&#8243; type=&#8221;link&#8221; target=&#8221;false&#8221; title=&#8221;Next: Sync Gateway via the Command Line&#8221; link=&#8221;https:\/\/www.couchbase.com\/blog\/getting-comfortable-with-couchbase-mobile-sync-gateway-via-the-command-line\/&#8221; linkrel=&#8221;&#8221;][\/buttongroup]<\/p>\n<h2 id=\"postscript\">Postscript<\/h2>\n<p>Check out more resources on our <a href=\"https:\/\/www.couchbase.com\/developers\/community\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">developer portal<\/a> and follow us on Twitter <a href=\"https:\/\/twitter.com\/CouchbaseDev\">@CouchbaseDev<\/a>.<\/p>\n<p>You can post questions on our <a href=\"https:\/\/www.couchbase.com\/forums\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">forums<\/a>. And we actively participate on <a href=\"https:\/\/stackoverflow.com\/questions\/tagged\/couchbase\">Stack Overflow<\/a>.<\/p>\n<p>You can follow me personally at <a href=\"https:\/\/twitter.com\/HodGreeley\">@HodGreeley<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this fourth post about the Couchbase Mobile stack, we\u2019ll go over installing Sync Gateway. Look for other posts in my \u201cGetting Comfortable with Couchbase Mobile\u201d series to learn everything you need to get the whole Couchbase Mobile stack [&hellip;]<\/p>\n","protected":false},"author":73,"featured_media":2554,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1810,2366],"tags":[1725],"ppma_author":[9042],"class_list":["post-2467","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-mobile","category-sync-gateway","tag-nosql-database"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.8 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Couchbase Mobile - Install Sync Gateway - The Couchbase Blog<\/title>\n<meta name=\"description\" content=\"Visit the fourth post about the Couchbase Mobile stack - how to install Sync gateway step by step and run everything on one machine.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Comfortable with Couchbase Mobile: Installing Sync Gateway\" \/>\n<meta property=\"og:description\" content=\"Visit the fourth post about the Couchbase Mobile stack - how to install Sync gateway step by step and run everything on one machine.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-18T19:28:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T02:58:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"621\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Hod Greeley, Developer Advocate, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@HodGreeley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hod Greeley, Developer Advocate, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/\"},\"author\":{\"name\":\"Hod Greeley, Developer Advocate, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4\"},\"headline\":\"Getting Comfortable with Couchbase Mobile: Installing Sync Gateway\",\"datePublished\":\"2017-01-18T19:28:38+00:00\",\"dateModified\":\"2025-06-14T02:58:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/\"},\"wordCount\":831,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png\",\"keywords\":[\"NoSQL Database\"],\"articleSection\":[\"Couchbase Mobile\",\"Sync Gateway\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/\",\"name\":\"Couchbase Mobile - Install Sync Gateway - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png\",\"datePublished\":\"2017-01-18T19:28:38+00:00\",\"dateModified\":\"2025-06-14T02:58:45+00:00\",\"description\":\"Visit the fourth post about the Couchbase Mobile stack - how to install Sync gateway step by step and run everything on one machine.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png\",\"width\":1920,\"height\":621,\"caption\":\"Couchbase Mobile Stack\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Comfortable with Couchbase Mobile: Installing Sync Gateway\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4\",\"name\":\"Hod Greeley, Developer Advocate, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/21eb69cb5d4a401fb23b149e4f4e9e87\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g\",\"caption\":\"Hod Greeley, Developer Advocate, Couchbase\"},\"description\":\"Hod Greeley is a Developer Advocate for Couchbase, living in Silicon Valley. He has over two decades of experience as a software engineer and engineering manager. He has worked in a variety of software fields, including computational physics and chemistry, computer and network security, finance, and mobile. Prior to joining Couchbase in 2016, Hod led developer relations for mobile at Samsung. Hod holds a Ph.D. in chemical physics from Columbia University.\",\"sameAs\":[\"https:\/\/hod.greeley.org\/blog\",\"https:\/\/x.com\/HodGreeley\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/hod-greeley\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Couchbase Mobile - Install Sync Gateway - The Couchbase Blog","description":"Visit the fourth post about the Couchbase Mobile stack - how to install Sync gateway step by step and run everything on one machine.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/","og_locale":"en_US","og_type":"article","og_title":"Getting Comfortable with Couchbase Mobile: Installing Sync Gateway","og_description":"Visit the fourth post about the Couchbase Mobile stack - how to install Sync gateway step by step and run everything on one machine.","og_url":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/","og_site_name":"The Couchbase Blog","article_published_time":"2017-01-18T19:28:38+00:00","article_modified_time":"2025-06-14T02:58:45+00:00","og_image":[{"width":1920,"height":621,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png","type":"image\/png"}],"author":"Hod Greeley, Developer Advocate, Couchbase","twitter_card":"summary_large_image","twitter_creator":"@HodGreeley","twitter_misc":{"Written by":"Hod Greeley, Developer Advocate, Couchbase","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/"},"author":{"name":"Hod Greeley, Developer Advocate, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4"},"headline":"Getting Comfortable with Couchbase Mobile: Installing Sync Gateway","datePublished":"2017-01-18T19:28:38+00:00","dateModified":"2025-06-14T02:58:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/"},"wordCount":831,"commentCount":5,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png","keywords":["NoSQL Database"],"articleSection":["Couchbase Mobile","Sync Gateway"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/","url":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/","name":"Couchbase Mobile - Install Sync Gateway - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png","datePublished":"2017-01-18T19:28:38+00:00","dateModified":"2025-06-14T02:58:45+00:00","description":"Visit the fourth post about the Couchbase Mobile stack - how to install Sync gateway step by step and run everything on one machine.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2017\/02\/couchbase-mobile-stack_1920.png","width":1920,"height":621,"caption":"Couchbase Mobile Stack"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/getting-comfortable-couchbase-mobile-installing-sync-gateway\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Getting Comfortable with Couchbase Mobile: Installing Sync Gateway"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4","name":"Hod Greeley, Developer Advocate, Couchbase","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/21eb69cb5d4a401fb23b149e4f4e9e87","url":"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g","caption":"Hod Greeley, Developer Advocate, Couchbase"},"description":"Hod Greeley is a Developer Advocate for Couchbase, living in Silicon Valley. He has over two decades of experience as a software engineer and engineering manager. He has worked in a variety of software fields, including computational physics and chemistry, computer and network security, finance, and mobile. Prior to joining Couchbase in 2016, Hod led developer relations for mobile at Samsung. Hod holds a Ph.D. in chemical physics from Columbia University.","sameAs":["https:\/\/hod.greeley.org\/blog","https:\/\/x.com\/HodGreeley"],"url":"https:\/\/www.couchbase.com\/blog\/author\/hod-greeley\/"}]}},"authors":[{"term_id":9042,"user_id":73,"is_guest":0,"slug":"hod-greeley","display_name":"Hod Greeley, Developer Advocate, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g","author_category":"","last_name":"Greeley","first_name":"Hod","job_title":"","user_url":"https:\/\/hod.greeley.org\/blog","description":"Hod Greeley is a Developer Advocate for Couchbase, living in Silicon Valley. He has over two decades of experience as a software engineer and engineering manager. He has worked in a variety of software fields, including computational physics and chemistry, computer and network security, finance, and mobile. Prior to joining Couchbase in 2016, Hod led developer relations for mobile at Samsung. Hod holds a Ph.D. in chemical physics from Columbia University."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=2467"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2467\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/2554"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=2467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=2467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=2467"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=2467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}