{"id":22930,"date":"2015-07-13T13:25:20","date_gmt":"2015-07-13T07:55:20","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=22930"},"modified":"2015-07-15T14:41:12","modified_gmt":"2015-07-15T09:11:12","slug":"how-to-compile-less-file-into-css-file","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/","title":{"rendered":"How to compile Less file into CSS file ?"},"content":{"rendered":"<p>Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side.<\/p>\n<h3 style=\"font-size: 26px!important;margin: 20px 0!important\">How to install Less ?<\/h3>\n<p>The easiest way to install Less on the server, is via npm,<\/p>\n<p><strong>Step 1<\/strong> \u2013 Download and Install nodejs from <a href=\"https:\/\/nodejs.org\/\" target=\"_blank\">https:\/\/nodejs.org\/<\/a><br \/>\n<strong>Step 2<\/strong> \u2013After completing installation Open your command prompt or Terminal and type the command<\/p>\n<p>[java]<br \/>\nnpm install -g less<br \/>\n[\/java]<\/p>\n<h3 style=\"font-size: 26px!important;margin: 20px 0!important\">How to run and compile Less ?<\/h3>\n<p>On the command prompt, go to the folder which contains the Less files (for example Style.less) and execute the following command.<\/p>\n<p>[java]lessc styles.less &gt; styles.css[\/java]<\/p>\n<p><strong>Output<\/strong> : You Found new file &#8220;styles.css&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 \u2013 Download and Install nodejs from [&hellip;]<\/p>\n","protected":false},"author":228,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":10,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-22930","post","type-post","status-publish","format-standard","hentry","category-technology"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 \u2013 Download and Install nodejs from\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Milan Kishor Chourasia\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to compile Less file into CSS file ? | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 \u2013 Download and Install nodejs from\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"article:tag\" content=\"technology\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-07-13T07:55:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2015-07-15T09:11:12+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to compile Less file into CSS file ? | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 \u2013 Download and Install nodejs from\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/#article\",\"name\":\"How to compile Less file into CSS file ? | TO THE NEW Blog\",\"headline\":\"How to compile Less file into CSS file ?\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/milanc\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2015-07-13T13:25:20+05:30\",\"dateModified\":\"2015-07-15T14:41:12+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/#webpage\"},\"articleSection\":\"Technology\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/#listItem\",\"name\":\"How to compile Less file into CSS file ?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/#listItem\",\"position\":3,\"name\":\"How to compile Less file into CSS file ?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/milanc\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/milanc\\\/\",\"name\":\"Milan Kishor Chourasia\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/dc743c1a-cd8f-4a07-b1d8-a48baef5a8ff_1484-Milan-Kishor-Chourasia-PROFILEPICTURE.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Milan Kishor Chourasia\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/\",\"name\":\"How to compile Less file into CSS file ? | TO THE NEW Blog\",\"description\":\"Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 \\u2013 Download and Install nodejs from\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-compile-less-file-into-css-file\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/milanc\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/milanc\\\/#author\"},\"datePublished\":\"2015-07-13T13:25:20+05:30\",\"dateModified\":\"2015-07-15T14:41:12+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to compile Less file into CSS file ? | TO THE NEW Blog","description":"Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 \u2013 Download and Install nodejs from","canonical_url":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/#article","name":"How to compile Less file into CSS file ? | TO THE NEW Blog","headline":"How to compile Less file into CSS file ?","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/milanc\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2015-07-13T13:25:20+05:30","dateModified":"2015-07-15T14:41:12+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/#webpage"},"articleSection":"Technology"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/www.tothenew.com\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/#listItem","name":"How to compile Less file into CSS file ?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/#listItem","position":3,"name":"How to compile Less file into CSS file ?","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/milanc\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/milanc\/","name":"Milan Kishor Chourasia","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/dc743c1a-cd8f-4a07-b1d8-a48baef5a8ff_1484-Milan-Kishor-Chourasia-PROFILEPICTURE.jpeg","width":96,"height":96,"caption":"Milan Kishor Chourasia"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/","name":"How to compile Less file into CSS file ? | TO THE NEW Blog","description":"Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 \u2013 Download and Install nodejs from","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/milanc\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/milanc\/#author"},"datePublished":"2015-07-13T13:25:20+05:30","dateModified":"2015-07-15T14:41:12+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"article","og:title":"How to compile Less file into CSS file ? | TO THE NEW Blog","og:description":"Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 \u2013 Download and Install nodejs from","og:url":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","article:tag":["technology"],"article:published_time":"2015-07-13T07:55:20+00:00","article:modified_time":"2015-07-15T09:11:12+00:00","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"How to compile Less file into CSS file ? | TO THE NEW Blog","twitter:description":"Less (sometimes stylized as LESS) is one of the dynamic style sheet languages that can be compiled into Cascading Style Sheets (CSS), or can run on the server-side and client-side. How to install Less ? The easiest way to install Less on the server, is via npm, Step 1 \u2013 Download and Install nodejs from","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"22930","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"article","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 13:48:02","updated":"2024-02-29 08:51:36","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to compile Less file into CSS file ?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Technology","link":"https:\/\/www.tothenew.com\/blog\/category\/technology\/"},{"label":"How to compile Less file into CSS file ?","link":"https:\/\/www.tothenew.com\/blog\/how-to-compile-less-file-into-css-file\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/22930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/228"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=22930"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/22930\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=22930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=22930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=22930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}