{"id":1467,"date":"2016-10-30T15:53:06","date_gmt":"2016-10-30T15:53:06","guid":{"rendered":"https:\/\/ionic.io\/blog\/?p=1467"},"modified":"2017-04-03T21:03:15","modified_gmt":"2017-04-03T21:03:15","slug":"new-to-the-command-line","status":"publish","type":"post","link":"https:\/\/ionic.io\/blog\/new-to-the-command-line","title":{"rendered":"New to the Command Line?"},"content":{"rendered":"<p>Ionic relies on the power of many command-line-interface tools (CLI) to start, build, test, and deploy Ionic apps.<\/p>\n<p>Unlike traditional desktop applications, CLI tools are small programs that perform various tasks in a way that makes them easy to use together, all without the complexities of having to build visual desktop apps for each program.<\/p>\n<p>To use CLI tools, we need to use a Terminal. A Terminal lets us run CLI tools by typing commands, and is a popular way developers build web and mobile apps today. A terminal looks like this (yours might look different):<\/p>\n<p>Windows, Linux, and Mac all have different ways to use the terminal. Let&#8217;s start with Mac<\/p>\n<h3>Mac<\/h3>\n<p>For Mac, we have a nice terminal installed by default called <code>terminal<\/code>. If we search in spotlight for <code>terminal<\/code> it will pop up:<\/p>\n<p><a href=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1584\" height=\"1084\" data-src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17.png\" alt=\"screenshot-2016-10-30-09-56-17\" class=\"aligncenter size-full wp-image-1471 lazyload\" data-srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17.png 1584w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17-300x205.png 300w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17-768x526.png 768w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17-1024x701.png 1024w\" data-sizes=\"auto, (max-width: 1584px) 100vw, 1584px\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 1584px; --smush-placeholder-aspect-ratio: 1584\/1084;\" \/><noscript><img loading=\"lazy\" decoding=\"async\" width=\"1584\" height=\"1084\" src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17.png\" alt=\"screenshot-2016-10-30-09-56-17\" class=\"aligncenter size-full wp-image-1471\" srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17.png 1584w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17-300x205.png 300w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17-768x526.png 768w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.56.17-1024x701.png 1024w\" sizes=\"auto, (max-width: 1584px) 100vw, 1584px\" \/><\/noscript><\/a><\/p>\n<p>Alternatively, we can find it in the <code>Utilities<\/code> folder in our <code>Applications<\/code> list.<\/p>\n<p>When we open it, we should see something like this:<\/p>\n<p><a href=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1394\" height=\"956\" data-src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25.png\" alt=\"screenshot-2016-10-30-10-03-25\" class=\"aligncenter size-full wp-image-1472 lazyload\" data-srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25.png 1394w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25-300x206.png 300w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25-768x527.png 768w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25-1024x702.png 1024w\" data-sizes=\"auto, (max-width: 1394px) 100vw, 1394px\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 1394px; --smush-placeholder-aspect-ratio: 1394\/956;\" \/><noscript><img loading=\"lazy\" decoding=\"async\" width=\"1394\" height=\"956\" src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25.png\" alt=\"screenshot-2016-10-30-10-03-25\" class=\"aligncenter size-full wp-image-1472\" srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25.png 1394w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25-300x206.png 300w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25-768x527.png 768w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.03.25-1024x702.png 1024w\" sizes=\"auto, (max-width: 1394px) 100vw, 1394px\" \/><\/noscript><\/a><\/p>\n<p>We can continue using this default terminal, though many Mac users choose to use a 3rd party terminal tool with more features, <a href=\"https:\/\/www.iterm2.com\/\">iTerm 2<\/a> being the most popular.<\/p>\n<h3>Windows<\/h3>\n<p>Windows has a few different terminal tools available by default, including two you may be familiar with: cmd.exe and PowerShell. We don&#8217;t recommend either for Ionic development or for modern web and mobile development because they don&#8217;t have many common utilities available that developers use.<\/p>\n<p>Instead, we strongly recommend installing <a href=\"https:\/\/git-scm.com\/download\/win\">Git for Windows<\/a> which comes with Git Bash, a prompt that is more compatible with the terminal experience on Mac and Linux.<\/p>\n<p>After installing Git Bash and running it, you&#8217;ll see a prompt like this:<\/p>\n<p><a href=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/gw1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"476\" data-src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/gw1.png\" alt=\"gw1\" class=\"aligncenter size-full wp-image-1473 lazyload\" data-srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/gw1.png 677w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/gw1-300x211.png 300w\" data-sizes=\"auto, (max-width: 677px) 100vw, 677px\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 677px; --smush-placeholder-aspect-ratio: 677\/476;\" \/><noscript><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"476\" src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/gw1.png\" alt=\"gw1\" class=\"aligncenter size-full wp-image-1473\" srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/gw1.png 677w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/gw1-300x211.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/noscript><\/a><\/p>\n<h3>Linux<\/h3>\n<p>You&#8217;re running Linux, you should know how to launch your Terminal ?<\/p>\n<h3>Tip #1: The Prompt<\/h3>\n<p>On our example terminals above, we see the text <code>bash-3.2$<\/code> and something similar on the Windows side, both having a <code>$<\/code> and our cursor positioned to the right of it.<\/p>\n<p>This is the command prompt, and it&#8217;s &#8220;prompting&#8221; us to enter a command. The dollar sign is a very common prompt character, and you&#8217;ll occasionally see it written in commands to give you context and to indicate this command should be run in a terminal. <em>You should not write the dollar sign character<\/em> when typing your commands, it will make your command not work.<\/p>\n<h3>Tip #2: Basic commands<\/h3>\n<p>There are a few core commands that you will want to learn that are often implied by tutorials. The first, and arguably most important, is <code>cd<\/code>. <code>cd<\/code> lets you &#8220;change directory&#8221; and is equivalent to navigating into folders in Finder or Explorer.<\/p>\n<p>The second is <code>ls<\/code> and &#8220;lists&#8221; the contents of the directory you are in. This becomes a common sequence Terminal users perform: <code>cd theDirectory<\/code> and then immediately <code>ls<\/code> to list the contents and give you context for where you are.<\/p>\n<p><a href=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1394\" height=\"978\" data-src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40.png\" alt=\"screenshot-2016-10-30-10-40-40\" class=\"aligncenter size-full wp-image-1474 lazyload\" data-srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40.png 1394w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40-300x210.png 300w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40-768x539.png 768w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40-1024x718.png 1024w\" data-sizes=\"auto, (max-width: 1394px) 100vw, 1394px\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 1394px; --smush-placeholder-aspect-ratio: 1394\/978;\" \/><noscript><img loading=\"lazy\" decoding=\"async\" width=\"1394\" height=\"978\" src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40.png\" alt=\"screenshot-2016-10-30-10-40-40\" class=\"aligncenter size-full wp-image-1474\" srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40.png 1394w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40-300x210.png 300w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40-768x539.png 768w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.40.40-1024x718.png 1024w\" sizes=\"auto, (max-width: 1394px) 100vw, 1394px\" \/><\/noscript><\/a><\/p>\n<p><code>ls<\/code> takes some additional flags to customize the output, and a common one is <code>ls -l<\/code> to show a nice tabular list of the contents of your directory.<\/p>\n<p>So, when we say <code>cd<\/code> into a directory, that means you&#8217;ll type <code>cd theDirectory<\/code>.<\/p>\n<h3>Tip #3: More commands<\/h3>\n<p>There are many commands available, and we recommend learning to use at least these other commands: <code>mkdir<\/code> to create directories, <code>cp<\/code> to copy files, <code>mv<\/code> to move and rename files, <code>rm<\/code> to remove files, and <code>less<\/code> to open files in a scrolling window for previewing. Try each one to learn how to use it.<\/p>\n<h3>Tip #4: sudo<\/h3>\n<p>Sometimes, a command we want to run requires administrator privileges to modify sensitive files on our computer. On Linux and Mac, we can use the <code>sudo<\/code> command <em>before<\/em> the command we want to run, which will prompt us for our administrator password before running the command. For example, here&#8217;s how we install Ionic globally (meaning for all users) on Mac and Linux:<\/p>\n<p><code>sudo npm install -g ionic<\/code><\/p>\n<p><a href=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1394\" height=\"978\" data-src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15.png\" alt=\"screenshot-2016-10-30-10-55-15\" class=\"aligncenter size-full wp-image-1475 lazyload\" data-srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15.png 1394w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15-300x210.png 300w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15-768x539.png 768w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15-1024x718.png 1024w\" data-sizes=\"auto, (max-width: 1394px) 100vw, 1394px\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 1394px; --smush-placeholder-aspect-ratio: 1394\/978;\" \/><noscript><img loading=\"lazy\" decoding=\"async\" width=\"1394\" height=\"978\" src=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15.png\" alt=\"screenshot-2016-10-30-10-55-15\" class=\"aligncenter size-full wp-image-1475\" srcset=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15.png 1394w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15-300x210.png 300w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15-768x539.png 768w, https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-10.55.15-1024x718.png 1024w\" sizes=\"auto, (max-width: 1394px) 100vw, 1394px\" \/><\/noscript><\/a><\/p>\n<p>Often times, <code>sudo<\/code> will be left out of commands printed in tutorials and guides because it&#8217;s one of those tricks you need to know if you use the Terminal on Linux and Mac yet not required for Windows so it&#8217;s not technically <em>correct<\/em> to have it printed.<\/p>\n<p>You need to know that certain commands are going to require elevated permissions, and sometimes the only way to learn is through trial and error. Ionic needs to be installed globally so that it can become a command the terminal knows about, so on Mac and Linux we need to include <code>sudo<\/code>.<\/p>\n<h3>Tip #5: NPM<\/h3>\n<p><a href=\"http:\/\/npmjs.com\/\">NPM<\/a> is a popular command line tool for installing libraries from the Node.js ecosystem. Ionic uses it extensively and you&#8217;ll see it printed in our getting started guide.<\/p>\n<p>After installing Node.js on our machine, the <code>npm<\/code> command will be available in our terminal. To install new packages, run <code>npm install<\/code> and then the name of the package. As mentioned in the &#8220;sudo&#8221; section above, if we need to install new commands <em>globally<\/em> (or, for &#8220;all users&#8221;), then we need to add <code>sudo<\/code> before the command on Mac and Linux (it&#8217;s not required on Windows), and then use the <code>-g<\/code> flag.<\/p>\n<h3>Tip #6: Flags, arguments<\/h3>\n<p>When you see the word &#8220;flags&#8221; or &#8220;arguments&#8221; for commands, that means adding text to your prompt to make the command run differently. For example, <code>npm install -g ionic<\/code> tells npm that we want to install Ionic globally.<\/p>\n<p>A &#8220;flag&#8221; is commonly a sequence with a dash and a character or two dashes and a word, and can often be used interchangeably. That means we can write <code>npm install -g<\/code> <em>or<\/em> <code>npm install --global<\/code> and the behavior is identical.<\/p>\n<p>&#8220;arguments&#8221; are just additional data we send to the command. For exmaple, if <code>npm<\/code> is the command, then <code>install<\/code> and <code>ionic<\/code> are arguments to the command.<\/p>\n<h3>Any questions?<\/h3>\n<p>We realized that many developers new to Ionic didn&#8217;t have extensive Terminal experience, so we hope this tutorial helps you better understand how to use the terminal and interact with Ionic.<\/p>\n<p>Any questions about anything above? Please let us know by leaving a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ionic relies on the power of many command-line-interface tools (CLI) to start, build, test, and deploy Ionic apps. Unlike traditional desktop applications, CLI tools are small programs that perform various tasks in a way that makes them easy to use together, all without the complexities of having to build visual desktop apps for each program. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1470,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"publish_to_discourse":"","publish_post_category":"","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"","discourse_permalink":"","wpdc_publishing_response":"","wpdc_publishing_error":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[3,7,25],"class_list":["post-1467","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-all","tag-ionic","tag-tools","tag-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.0 (Yoast SEO v23.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>New to the Command Line? - Ionic 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:\/\/ionic.io\/blog\/new-to-the-command-line\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New to the Command Line?\" \/>\n<meta property=\"og:description\" content=\"Ionic relies on the power of many command-line-interface tools (CLI) to start, build, test, and deploy Ionic apps. Unlike traditional desktop applications, CLI tools are small programs that perform various tasks in a way that makes them easy to use together, all without the complexities of having to build visual desktop apps for each program. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ionic.io\/blog\/new-to-the-command-line\" \/>\n<meta property=\"og:site_name\" content=\"Ionic Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-30T15:53:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-03T21:03:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1394\" \/>\n\t<meta property=\"og:image:height\" content=\"978\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Max Lynch\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@maxlynch\" \/>\n<meta name=\"twitter:site\" content=\"@ionicframework\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Max Lynch\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line#article\",\"isPartOf\":{\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line\"},\"author\":{\"name\":\"Max Lynch\",\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/person\/91f360cffbd804a464b0c4a87b5c5f1e\"},\"headline\":\"New to the Command Line?\",\"datePublished\":\"2016-10-30T15:53:06+00:00\",\"dateModified\":\"2017-04-03T21:03:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line\"},\"wordCount\":963,\"commentCount\":15,\"publisher\":{\"@id\":\"https:\/\/ionic.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png\",\"keywords\":[\"Ionic\",\"Tools\",\"Tutorials\"],\"articleSection\":[\"All\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ionic.io\/blog\/new-to-the-command-line#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line\",\"url\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line\",\"name\":\"New to the Command Line? - Ionic Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ionic.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png\",\"datePublished\":\"2016-10-30T15:53:06+00:00\",\"dateModified\":\"2017-04-03T21:03:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ionic.io\/blog\/new-to-the-command-line\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line#primaryimage\",\"url\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png\",\"contentUrl\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png\",\"width\":1394,\"height\":978},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ionic.io\/blog\/new-to-the-command-line#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ionic.io\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"New to the Command Line?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ionic.io\/blog\/#website\",\"url\":\"https:\/\/ionic.io\/blog\/\",\"name\":\"ionic.io\/blog\",\"description\":\"Build amazing native and progressive web apps with the web\",\"publisher\":{\"@id\":\"https:\/\/ionic.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ionic.io\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ionic.io\/blog\/#organization\",\"name\":\"Ionic\",\"url\":\"https:\/\/ionic.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2020\/10\/white-on-color.png\",\"contentUrl\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2020\/10\/white-on-color.png\",\"width\":1920,\"height\":854,\"caption\":\"Ionic\"},\"image\":{\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/ionicframework\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/person\/91f360cffbd804a464b0c4a87b5c5f1e\",\"name\":\"Max Lynch\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2018\/05\/max-avatar-150x150.jpg\",\"contentUrl\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2018\/05\/max-avatar-150x150.jpg\",\"caption\":\"Max Lynch\"},\"description\":\"CEO\",\"sameAs\":[\"http:\/\/twitter.com\/maxlynch\",\"https:\/\/x.com\/maxlynch\"],\"url\":\"https:\/\/ionic.io\/blog\/author\/max\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"New to the Command Line? - Ionic 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:\/\/ionic.io\/blog\/new-to-the-command-line","og_locale":"en_US","og_type":"article","og_title":"New to the Command Line?","og_description":"Ionic relies on the power of many command-line-interface tools (CLI) to start, build, test, and deploy Ionic apps. Unlike traditional desktop applications, CLI tools are small programs that perform various tasks in a way that makes them easy to use together, all without the complexities of having to build visual desktop apps for each program. [&hellip;]","og_url":"https:\/\/ionic.io\/blog\/new-to-the-command-line","og_site_name":"Ionic Blog","article_published_time":"2016-10-30T15:53:06+00:00","article_modified_time":"2017-04-03T21:03:15+00:00","og_image":[{"width":1394,"height":978,"url":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png","type":"image\/png"}],"author":"Max Lynch","twitter_card":"summary_large_image","twitter_creator":"@maxlynch","twitter_site":"@ionicframework","twitter_misc":{"Written by":"Max Lynch","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line#article","isPartOf":{"@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line"},"author":{"name":"Max Lynch","@id":"https:\/\/ionic.io\/blog\/#\/schema\/person\/91f360cffbd804a464b0c4a87b5c5f1e"},"headline":"New to the Command Line?","datePublished":"2016-10-30T15:53:06+00:00","dateModified":"2017-04-03T21:03:15+00:00","mainEntityOfPage":{"@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line"},"wordCount":963,"commentCount":15,"publisher":{"@id":"https:\/\/ionic.io\/blog\/#organization"},"image":{"@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line#primaryimage"},"thumbnailUrl":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png","keywords":["Ionic","Tools","Tutorials"],"articleSection":["All"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ionic.io\/blog\/new-to-the-command-line#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line","url":"https:\/\/ionic.io\/blog\/new-to-the-command-line","name":"New to the Command Line? - Ionic Blog","isPartOf":{"@id":"https:\/\/ionic.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line#primaryimage"},"image":{"@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line#primaryimage"},"thumbnailUrl":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png","datePublished":"2016-10-30T15:53:06+00:00","dateModified":"2017-04-03T21:03:15+00:00","breadcrumb":{"@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ionic.io\/blog\/new-to-the-command-line"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line#primaryimage","url":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png","contentUrl":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png","width":1394,"height":978},{"@type":"BreadcrumbList","@id":"https:\/\/ionic.io\/blog\/new-to-the-command-line#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ionic.io\/blog"},{"@type":"ListItem","position":2,"name":"New to the Command Line?"}]},{"@type":"WebSite","@id":"https:\/\/ionic.io\/blog\/#website","url":"https:\/\/ionic.io\/blog\/","name":"ionic.io\/blog","description":"Build amazing native and progressive web apps with the web","publisher":{"@id":"https:\/\/ionic.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ionic.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ionic.io\/blog\/#organization","name":"Ionic","url":"https:\/\/ionic.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ionic.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2020\/10\/white-on-color.png","contentUrl":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2020\/10\/white-on-color.png","width":1920,"height":854,"caption":"Ionic"},"image":{"@id":"https:\/\/ionic.io\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/ionicframework"]},{"@type":"Person","@id":"https:\/\/ionic.io\/blog\/#\/schema\/person\/91f360cffbd804a464b0c4a87b5c5f1e","name":"Max Lynch","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ionic.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2018\/05\/max-avatar-150x150.jpg","contentUrl":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2018\/05\/max-avatar-150x150.jpg","caption":"Max Lynch"},"description":"CEO","sameAs":["http:\/\/twitter.com\/maxlynch","https:\/\/x.com\/maxlynch"],"url":"https:\/\/ionic.io\/blog\/author\/max"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2016\/10\/Screenshot-2016-10-30-09.51.19.png","_links":{"self":[{"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/posts\/1467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/comments?post=1467"}],"version-history":[{"count":0,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/posts\/1467\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/media\/1470"}],"wp:attachment":[{"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/media?parent=1467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/categories?post=1467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/tags?post=1467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}