{"id":92940,"date":"2017-08-16T15:53:52","date_gmt":"2017-08-16T15:53:52","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=92940"},"modified":"2017-08-16T15:53:52","modified_gmt":"2017-08-16T15:53:52","slug":"install-opencart-3-x-x-x-using-cli","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/","title":{"rendered":"Install Opencart 3.x.x.x Using CLI"},"content":{"rendered":"<p>This article demonstrate how to install Opencart via CLI (Command Line Interface). CLI SAPI(Server Application programming Interface) uses to develop shell application. Where the user commands to the program in the form of lines of texts and Shell or Command Language Interpreter handles the interface.<\/p>\n<p>1. Download the latest Opencart 3.x.x.x from this https:\/\/www.opencart.com\/index.php?route=cms\/download\/download&amp;download_id=56.<\/p>\n<p>2. Then extract the zip and upload the files and folders which are in upload folder, to your root directory.<\/p>\n<p>3. open your system terminal and go to your Opencart root directory in which you have uploaded the Opencart files.<\/p>\n<p>To run a php file you needs to check whether CLI is installed in your server. For this you have to check by run php -v command on the terminal.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-93074\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_3-5.png\" alt=\"\" width=\"727\" height=\"109\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_3-5.png 727w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_3-5-250x37.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_3-5-300x45.png 300w\" sizes=\"(max-width: 727px) 100vw, 727px\" loading=\"lazy\" \/><\/p>\n<p>In the above screen shot you can see the PHP 7.0.22-0ubuntu0.16.04.1 (cli) means cli is installed on your server.<\/p>\n<p>Now you just have to run the cli_install.php file by passing some arguments in the terminal. Here is the arguments<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-93075\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_4-6.png\" alt=\"\" width=\"732\" height=\"120\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_4-6.png 732w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_4-6-250x41.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_4-6-300x49.png 300w\" sizes=\"(max-width: 732px) 100vw, 732px\" loading=\"lazy\" \/><\/p>\n<p>just run this above command with proper arguments then Opencart will be installed on your server.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-93076\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_5-5.png\" alt=\"\" width=\"734\" height=\"70\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_5-5.png 734w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_5-5-250x24.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/08\/Screenshot_5-5-300x29.png 300w\" sizes=\"(max-width: 734px) 100vw, 734px\" loading=\"lazy\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article demonstrate how to install Opencart via CLI (Command Line Interface). CLI SAPI(Server Application programming Interface) uses to develop shell application. Where the user commands to the program in the form of lines of texts and Shell or Command Language Interpreter handles the interface. 1. Download the latest Opencart 3.x.x.x from this https:\/\/www.opencart.com\/index.php?route=cms\/download\/download&amp;download_id=56. 2. <a href=\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":71,"featured_media":41021,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[305,13,1],"tags":[],"class_list":["post-92940","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-opencart","category-php","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Install Opencart 3.x.x.x Using CLI - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Opencart 3.x.x.x Using CLI - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"This article demonstrate how to install Opencart via CLI (Command Line Interface). CLI SAPI(Server Application programming Interface) uses to develop shell application. Where the user commands to the program in the form of lines of texts and Shell or Command Language Interpreter handles the interface. 1. Download the latest Opencart 3.x.x.x from this https:\/\/www.opencart.com\/index.php?route=cms\/download\/download&amp;download_id=56. 2. [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-16T15:53:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sambit Pattanayak\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sambit Pattanayak\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/\"},\"author\":{\"name\":\"Sambit Pattanayak\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/23309d7bfba5b06d58b50ea5e3191f01\"},\"headline\":\"Install Opencart 3.x.x.x Using CLI\",\"datePublished\":\"2017-08-16T15:53:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/\"},\"wordCount\":201,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png\",\"articleSection\":[\"opencart\",\"php\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/\",\"url\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/\",\"name\":\"Install Opencart 3.x.x.x Using CLI - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png\",\"datePublished\":\"2017-08-16T15:53:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png\",\"width\":825,\"height\":260,\"caption\":\"How to clean and flush cache programmatically in magento2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Opencart 3.x.x.x Using CLI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/23309d7bfba5b06d58b50ea5e3191f01\",\"name\":\"Sambit Pattanayak\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b470681418ca47d8211cf413884189c631a12188462ba25500fa51c897318975?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b470681418ca47d8211cf413884189c631a12188462ba25500fa51c897318975?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sambit Pattanayak\"},\"sameAs\":[\"http:\/\/webkul.com\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/sambit-p819\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Opencart 3.x.x.x Using CLI - Webkul Blog","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:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/","og_locale":"en_US","og_type":"article","og_title":"Install Opencart 3.x.x.x Using CLI - Webkul Blog","og_description":"This article demonstrate how to install Opencart via CLI (Command Line Interface). CLI SAPI(Server Application programming Interface) uses to develop shell application. Where the user commands to the program in the form of lines of texts and Shell or Command Language Interpreter handles the interface. 1. Download the latest Opencart 3.x.x.x from this https:\/\/www.opencart.com\/index.php?route=cms\/download\/download&amp;download_id=56. 2. [...]","og_url":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-08-16T15:53:52+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png","type":"image\/png"}],"author":"Sambit Pattanayak","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sambit Pattanayak","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/"},"author":{"name":"Sambit Pattanayak","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/23309d7bfba5b06d58b50ea5e3191f01"},"headline":"Install Opencart 3.x.x.x Using CLI","datePublished":"2017-08-16T15:53:52+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/"},"wordCount":201,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png","articleSection":["opencart","php"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/","url":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/","name":"Install Opencart 3.x.x.x Using CLI - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png","datePublished":"2017-08-16T15:53:52+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/Code-Snippet-1.png","width":825,"height":260,"caption":"How to clean and flush cache programmatically in magento2"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/install-opencart-3-x-x-x-using-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Opencart 3.x.x.x Using CLI"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/23309d7bfba5b06d58b50ea5e3191f01","name":"Sambit Pattanayak","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b470681418ca47d8211cf413884189c631a12188462ba25500fa51c897318975?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b470681418ca47d8211cf413884189c631a12188462ba25500fa51c897318975?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sambit Pattanayak"},"sameAs":["http:\/\/webkul.com"],"url":"https:\/\/webkul.com\/blog\/author\/sambit-p819\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/92940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=92940"}],"version-history":[{"count":1,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/92940\/revisions"}],"predecessor-version":[{"id":93077,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/92940\/revisions\/93077"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/41021"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=92940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=92940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=92940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}