{"id":21759,"date":"2024-02-23T18:00:29","date_gmt":"2024-02-23T10:00:29","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=21759"},"modified":"2024-03-05T23:23:33","modified_gmt":"2024-03-05T15:23:33","slug":"web-designers-essential-command-lines","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/","title":{"rendered":"Essential Command Line Skills for Web Designers"},"content":{"rendered":"<p>If you\u2019ve ever followed a web design or development tutorial, you might have seen instructions asking you to use commands like <code>npm install<\/code> or <code>git clone<\/code>. These instructions are for the Command Line Interface (CLI), a tool we use to <strong>instruct the computer to carry out specific actions<\/strong>, typically by entering commands in Terminal or Command Prompt.<\/p>\n<p>For web designers, using Terminal or Command Prompt might not seem the easiest, especially if you\u2019re more accustomed to <a href=\"https:\/\/www.hongkiat.com\/blog\/web-mobile-gui-sets\/\">graphical interfaces<\/a>. However, command line tools such as <a href=\"https:\/\/yeoman.io\/\">Yeoman<\/a>, <a href=\"https:\/\/bower.io\/\">Bower<\/a>, and <a href=\"https:\/\/developers.google.com\/web\/starter-kit\/\" rel=\"nofollow\">Google Web Starter Kit<\/a> <strong>rely on command line inputs<\/strong>.<\/p>\n<p>If the thought of typing commands seems daunting, this article will introduce you to a few simple command lines to get you started and make you more comfortable with using them.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/basic-shell-commands-for-bloggers\/\">Essential Shell Commands Every Blogger Should Know<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>Before We Begin\u2026<\/h2>\n<p>Let\u2019s discuss Terminal and Command Prompt first. These applications grant you access to the operating system\u2019s heart. It\u2019s crucial to understand that once you make a change here, <strong>it cannot be undone<\/strong>. Therefore, any actions taken in these environments <strong>must be approached with care<\/strong> \u2013 only proceed if you\u2019re confident in what you\u2019re doing.<\/p>\n<p>Another key point is the inability to use the mouse within Terminal or Command Prompt. This means <strong>you can\u2019t search or select text using the mouse<\/strong>. All interactions are through the keyboard, making <strong>keyboard shortcuts invaluable<\/strong>.<\/p>\n<p>For Windows users, it\u2019s important to note that some commands might not be available. In such cases, I recommend using tools like <a href=\"https:\/\/www.cygwin.com\/\">Cygwin<\/a>, <a href=\"http:\/\/unxutils.sourceforge.net\/\">UnxUtils<\/a>, or <a href=\"https:\/\/www.microsoft.com\/en-us\/en-us\/download\/details.aspx?id=274\">Windows Services for UNIX Version 3.5<\/a> to bring UNIX utilities to Windows. Now, get ready to dive in with enthusiasm.<\/p>\n<hr>\n<h2>Changing Directories<\/h2>\n<p>Navigating through directories is a common task. Both Terminal and Command Prompt utilize the <code>cd<\/code> command for changing your current directory to a specified destination. For example, to move to a folder named <code>foo<\/code>, you would type:<\/p>\n<pre>\r\ncd foo\r\n<\/pre>\n<p>The current directory is displayed before the blinking cursor, as shown below.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/cd-command.jpg\" alt=\"Example of cd command in Terminal\" height=\"120\" width=\"500\"><\/figure>\n<p>To dive into a sub-directory of <code>foo<\/code>, you can do it in one step:<\/p>\n<pre>\r\ncd foo\/sub-folder\r\n<\/pre>\n<p>If you need to go back to the previous directory or move up one level from your current directory, simply type:<\/p>\n<pre>\r\ncd ..\r\n<\/pre>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-cd\/\">How to Use the CD Command in Linux<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>Creating a New Folder<\/h2>\n<p>The <code>mkdir<\/code> command is handy when you need to create a new directory. To make a directory named <strong>foo<\/strong>, you would use the following command:<\/p>\n<pre>\r\nmkdir foo\r\n<\/pre>\n<p>Creating multiple directories simultaneously is also straightforward. The next command will create three directories named <code>foo<\/code>, <code>hello<\/code>, and <code>world<\/code> in one go:<\/p>\n<pre>\r\nmkdir foo hello world\r\n<\/pre>\n<p>This <code>mkdir<\/code> command works in both Terminal and Command Prompt.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ls\/\">How to List Files and Folders in Linux<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>Creating a New File<\/h2>\n<p>To create an empty file, the <code>touch<\/code> command is what you need. For instance, to create a file named filename.html, you would type:<\/p>\n<pre>\r\ntouch filename.html\r\n<\/pre>\n<p>If you want to create several files at once, just list them all in the command like so:<\/p>\n<pre>\r\ntouch file.html style.css\r\n<\/pre>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-touch\/\">How to Use the \u2018touch\u2019 Command in Linux<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>Moving Files<\/h2>\n<p>To move a file to a specific folder, use the <code>mv<\/code> command. For instance, to move <code>style.css<\/code> into a folder named <strong>\/css<\/strong>, the command is:<\/p>\n<pre>\r\nmv style.css \/css\r\n<\/pre>\n<p>The <code>mv<\/code> command can also be used to rename files and folders. To rename <code>index.html<\/code> to <code>about.html<\/code>, you would use:<\/p>\n<pre>\r\nmv index.html about.html\r\n<\/pre>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-mv\/\">How to Use mv in Linux<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>Copying Files<\/h2>\n<p>To copy a file, the <code>cp<\/code> command (or <code>copy<\/code> on Windows) is used. For example, copying <code>index.html<\/code> and naming the duplicate as <code>about.html<\/code> can be done with:<\/p>\n<pre>\r\ncp index.html about.html\r\n<\/pre>\n<p>Remember, on Windows platforms, you should use the <code>copy<\/code> command.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-cp\/\">How to Copy Files and Folders in Linux<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>Listing Directory Contents<\/h2>\n<p>One of my most frequently used commands is the List Directory command, also known as <code>ls<\/code>. This command allows you to view all the contents within a directory.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/ls-command.jpg\" alt=\"Example of ls command output\" height=\"120\" width=\"500\"><\/figure>\n<p>By specifying a folder name before the <code>ls<\/code> command, you can list the contents of that particular folder, as shown below:<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/ls-folder-command.jpg\" alt=\"Listing contents of a specific folder with ls command\" height=\"120\" width=\"500\"><\/figure>\n<p>To get more details about the contents, such as creation date, permissions, and owners, use <code>ls -l<\/code> or <code>ll<\/code>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/ll-command.jpg\" alt=\"Detailed listing with ls -l command\" height=\"120\" width=\"500\"><\/figure>\n<p>Note that the <code>ls<\/code> command works in UNIX shells, meaning it\u2019s suitable for Ubuntu and OS X but not for Windows. For Windows, you\u2019ll need to use the <code>dir<\/code> command instead.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/dir-command.jpg\" alt=\"Using dir command in Windows\" height=\"230\" width=\"500\"><\/figure>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ls\/\">How to List Files and Folders in Linux<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>Opening Files<\/h2>\n<p>To open files or folders in their default applications, use the <code>open<\/code> command. For example, to open the <code>Desktop<\/code> folder in Finder:<\/p>\n<pre>\r\nopen ~\/Desktop\r\n<\/pre>\n<p>To open a <code>.txt<\/code> file in TextEdit (the default plain text editor in OS X), you would use:<\/p>\n<pre>\r\nopen readme.txt\r\n<\/pre>\n<p>Windows users should opt for the <code>edit<\/code> command for a similar effect. To open a text file in the default editor, the command is:<\/p>\n<pre>\r\nedit readme.txt\r\n<\/pre>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-open\/\">How to Use the \u2018open\u2019 Command in Linux<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>Creating Symbolic Links<\/h2>\n<p><a href=\"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/\">Symbolic links<\/a>, or Symlinks, function like shortcut folders, yet the system recognizes them <strong>as actual folders<\/strong>. A favorite use case of mine for Symlinks is to sync folders from <strong>\/Dropbox<\/strong> to my <strong>\/Sites<\/strong> directory, where I store all my web development projects.<\/p>\n<p>Here\u2019s how you specify the command:<\/p>\n<pre>\r\nln -s \/source \/destination\r\n<\/pre>\n<p>To link your <strong>\/Dropbox<\/strong> to the <strong>\/Sites<\/strong> folder, execute:<\/p>\n<pre>\r\nln -s ~\/Dropbox\/project ~\/Sites\/project\r\n<\/pre>\n<p>For Windows, the equivalent command is <code>mklink \/d<\/code>.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ln\/\">How to Use the \u2018ln\u2019 Command in Linux<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>Using the Nano Editor<\/h2>\n<p>If you need to set up a new VirtualHost with a new domain name, you\u2019ll likely need to edit the <code>hosts<\/code> file that maps domain names to IP addresses. The fastest way to do this is by using the following command:<\/p>\n<pre>\r\nsudo nano \/etc\/hosts\r\n<\/pre>\n<hr>\n<h2>Sublime Text Command Line Interface<\/h2>\n<p>Sublime Text includes a command line interface (CLI), <code>subl<\/code>, allowing operation through Terminal and Command Prompt. Initially, the Terminal won\u2019t recognize the <code>subl<\/code> command.<\/p>\n<p>To integrate Sublime Text CLI, execute this command:<\/p>\n<pre>\r\nln -s \"\/Applications\/Sublime Text.app\/Contents\/SharedSupport\/bin\/subl\" ~\/bin\/subl\r\n<\/pre>\n<p>With this setup, you can open files directly, such as <code>style.css<\/code>, using:<\/p>\n<pre>\r\nsubl style.css\r\n<\/pre>\n<p>Adding <code>--add<\/code> to your command opens files or folders in the existing Sublime Text window:<\/p>\n<pre>\r\nsubl --add foo\r\n<\/pre>\n<p>For additional options, <code>subl --help<\/code> will guide you.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/\">12 Best Sublime Text Tips and Tricks<\/a>\n\t\t\t\t<\/p>\n<p>Mastering these command lines and starting with the basics will reveal that commands can be more efficient than graphical interfaces for certain tasks. Hopefully, this guide helps you begin your journey.<\/p>\n<hr>\n<h2>Further Reading: Command Line Mastery<\/h2>\n<p>Explore more through these posts, which teach you various tasks using command lines:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/basic-shell-commands-for-bloggers\/\">Basic Shell Commands For Bloggers<\/a><\/li>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/wordpress-command-line\/\">Installing WordPress Through Command Line<\/a><\/li>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/saas-compass\/\">Syntactically Awesome Stylesheets: Using Compass In Sass<\/a><\/li>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/bower-package-manager\/\">How To Install, Update & Remove Web Libraries Easily With Bower<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>If you\u2019ve ever followed a web design or development tutorial, you might have seen instructions asking you to use commands like npm install or git clone. These instructions are for the Command Line Interface (CLI), a tool we use to instruct the computer to carry out specific actions, typically by entering commands in Terminal or&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392],"tags":[3053,3933],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>10 Basic Command Lines Every Designers Should Know<\/title>\n<meta name=\"description\" content=\"If you&#039;ve ever followed a web design or development tutorial, you might have seen instructions asking you to use commands like npm install or git clone.\" \/>\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.hongkiat.com\/blog\/web-designers-essential-command-lines\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Essential Command Line Skills for Web Designers\" \/>\n<meta property=\"og:description\" content=\"If you&#039;ve ever followed a web design or development tutorial, you might have seen instructions asking you to use commands like npm install or git clone.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-23T10:00:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-05T15:23:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/cd-command.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"Essential Command Line Skills for Web Designers\",\"datePublished\":\"2024-02-23T10:00:29+00:00\",\"dateModified\":\"2024-03-05T15:23:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/\"},\"wordCount\":980,\"commentCount\":20,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/web-designers-essential-command-lines\\\/cd-command.jpg\",\"keywords\":[\"Command Line\",\"macOS\"],\"articleSection\":[\"Coding\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/\",\"name\":\"10 Basic Command Lines Every Designers Should Know\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/web-designers-essential-command-lines\\\/cd-command.jpg\",\"datePublished\":\"2024-02-23T10:00:29+00:00\",\"dateModified\":\"2024-03-05T15:23:33+00:00\",\"description\":\"If you've ever followed a web design or development tutorial, you might have seen instructions asking you to use commands like npm install or git clone.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/web-designers-essential-command-lines\\\/cd-command.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/web-designers-essential-command-lines\\\/cd-command.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/web-designers-essential-command-lines\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Essential Command Line Skills for Web Designers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"10 Basic Command Lines Every Designers Should Know","description":"If you've ever followed a web design or development tutorial, you might have seen instructions asking you to use commands like npm install or git clone.","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.hongkiat.com\/blog\/web-designers-essential-command-lines\/","og_locale":"en_US","og_type":"article","og_title":"Essential Command Line Skills for Web Designers","og_description":"If you've ever followed a web design or development tutorial, you might have seen instructions asking you to use commands like npm install or git clone.","og_url":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2024-02-23T10:00:29+00:00","article_modified_time":"2024-03-05T15:23:33+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/cd-command.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"Essential Command Line Skills for Web Designers","datePublished":"2024-02-23T10:00:29+00:00","dateModified":"2024-03-05T15:23:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/"},"wordCount":980,"commentCount":20,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/cd-command.jpg","keywords":["Command Line","macOS"],"articleSection":["Coding"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/","url":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/","name":"10 Basic Command Lines Every Designers Should Know","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/cd-command.jpg","datePublished":"2024-02-23T10:00:29+00:00","dateModified":"2024-03-05T15:23:33+00:00","description":"If you've ever followed a web design or development tutorial, you might have seen instructions asking you to use commands like npm install or git clone.","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/cd-command.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/web-designers-essential-command-lines\/cd-command.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/web-designers-essential-command-lines\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Essential Command Line Skills for Web Designers"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-5EX","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/21759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=21759"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/21759\/revisions"}],"predecessor-version":[{"id":71444,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/21759\/revisions\/71444"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=21759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=21759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=21759"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=21759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}