{"id":4063,"date":"2014-11-23T05:32:20","date_gmt":"2014-11-23T05:32:20","guid":{"rendered":"http:\/\/www.jitendrazaa.com\/blog\/?p=4063"},"modified":"2014-11-23T05:32:20","modified_gmt":"2014-11-23T05:32:20","slug":"why-to-use-bower-for-your-web-developement","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/webtech\/why-to-use-bower-for-your-web-developement\/","title":{"rendered":"Why to use Bower for your web developement"},"content":{"rendered":"<p style=\"text-align: justify;\"><strong>What is Bower<\/strong><br \/>\nIt is client side package Manager and Great tool to manage all you web dependencies like JavaScript libraries and other assets.<\/p>\n<figure id=\"attachment_4065\" aria-describedby=\"caption-attachment-4065\" style=\"width: 150px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/11\/bower-logo.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-thumbnail wp-image-4065\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/11\/bower-logo.png?resize=150%2C150&#038;ssl=1\" alt=\"Bower\" width=\"150\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/11\/bower-logo.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/11\/bower-logo.png?zoom=2&amp;resize=150%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/11\/bower-logo.png?zoom=3&amp;resize=150%2C150&amp;ssl=1 450w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><figcaption id=\"caption-attachment-4065\" class=\"wp-caption-text\">Bower<\/figcaption><\/figure>\n<p style=\"text-align: justify;\"><strong>What can be done from Bower<\/strong><br \/>\nWeb sites are made of lots of things \u2014 frameworks, libraries, assets, utilities, and rainbows. Bower manages all these things for you.<\/p>\n<blockquote><p># registered package<br \/>\n$ bower install jquery<\/p>\n<p># GitHub shorthand \u2013 download repository SOQLBuilder from user Jitendra on Git<br \/>\n$ bower install JitendraZaa\/SOQLBuilder<\/p>\n<p># Git endpoint<br \/>\n$ bower install git:\/\/github.com\/user\/package.git<\/p>\n<p># URL<br \/>\n$ bower install http:\/\/somewebsiteURL.com\/script.js<\/p><\/blockquote>\n<p><!--more--><\/p>\n<p style=\"text-align: justify;\"><strong>How to Install it<\/strong><br \/>\nI am taking an example of Node to install in bower globally. Below command will install bower and can be used from anywhere<br \/>\n<em>$ npm install \u2013g bower<\/em><\/p>\n<p style=\"text-align: justify;\"><strong>Current problem<\/strong><br \/>\nLet\u2019s say you want to use some library like &#8220;polymer&#8221; or &#8220;Jquery&#8221;. You will need to search latest version of polymer \/ JQuery either from main site or from some CDN, then Download zip file, extract and save in your folder. If that library has dependency on some other library then download that library also manually and perform same steps. After some day, your locally saved library may be out of date.<\/p>\n<p><strong>Benefit of Bower<\/strong><br \/>\nWith Bower Simply run this commands in your folder and all dependencies will be automatically fetched and stored in &#8220;bower_components&#8221; folder<br \/>\n<em>$ bower install &#8211;save Polymer\/polymer<\/em> \u00a0\/*This will download latest version*\/<\/p>\n<p><strong>Basic Bower Commands<\/strong><br \/>\nBelow are some basic bower commands:<\/p>\n<p><em>$ bower list<\/em><br \/>\nIt will check for latest versions of all components installed by bower in current folder<\/p>\n<p><em>$ bower list &#8211;path<\/em><br \/>\nIt will show path to be used in your web page for all components installed by bower<\/p>\n<p><em>$ bower uninstall<\/em><br \/>\nIf you want to uninstall any previously downloaded library then use this command<br \/>\nExample :<em> $ bower uninstall jquery<\/em> \/*It will remove JQuery*\/<\/p>\n<p><em>$ bower install\u00a0&lt;libName&gt;#&lt;version&gt;<\/em><br \/>\nInstall specific version of library.\u00a0If you want to use older version of library, say 1.11.0 of Jquery, then use below command<br \/>\n<em>$ bower install jquery#1.11.0<\/em><\/p>\n<p style=\"text-align: justify;\"><strong>Creating and distributing package with Bower<\/strong><br \/>\nIf you have completed development of your application and want to distribute it, lets say on Github. Then use below command<\/p>\n<p style=\"text-align: justify;\"><em>$ bower init<\/em><\/p>\n<p style=\"text-align: justify;\">This command will ask some questions and will generate bower.json file. While pushing files on Git, do not push bower folder, push only bower.json. Users can install all dependency of your package by running command<\/p>\n<p style=\"text-align: justify;\"><em>$ bower install<\/em><\/p>\n<p><em><span style=\"text-decoration: underline;\">Note :<\/span><\/em><br \/>\nIf you add new dependency after bower.json is generated, it will not be added automatically in JSON file, you need to use &#8220;-s&#8221; at end of install command.<\/p>\n<p><em>$ bower install jquery -s<\/em>\u00a0 \/*Install Jquery and update bower.json*\/<\/p>\n<p><iframe loading=\"lazy\" style=\"border: 1px solid #CCC; border-width: 1px; margin-bottom: 5px; max-width: 100%;\" src=\"\/\/www.slideshare.net\/slideshow\/embed_code\/41905539\" width=\"425\" height=\"355\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"> <\/iframe><\/p>\n<div style=\"margin-bottom: 5px;\"><strong> <a title=\"Introduction to bower\" href=\"\/\/www.slideshare.net\/jitendrazaa\/introduction-to-bower\" target=\"_blank\">Introduction to bower<\/a> <\/strong> from <strong><a href=\"\/\/www.slideshare.net\/jitendrazaa\" target=\"_blank\">Jitendra Zaa<\/a><\/strong><\/div>\n","protected":false},"excerpt":{"rendered":"<p>What is Bower It is client side package Manager and Great tool to manage all you web dependencies like JavaScript libraries and other assets. What can be done from Bower Web sites are made of lots of things \u2014 frameworks, libraries, assets, utilities, and rainbows. Bower manages all these things for you. # registered package [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[266,19],"tags":[278,267,181],"class_list":["post-4063","post","type-post","status-publish","format-standard","hentry","category-node-js","category-webtech","tag-bower","tag-nodejs","tag-slideshare"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4276,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/continuous-integration-in-salesforce-using-jenkins-and-git-video-tutorial\/","url_meta":{"origin":4063,"position":0},"title":"Continuous integration in Salesforce Using Jenkins and Git | Video Tutorial","author":"Jitendra","date":"March 23, 2015","format":false,"excerpt":"As your Salesforce Organization undergoes heavy customization and frequent builds, moving changes from one Sandbox to other sandboxes starts taking longer time and effort. Also, in normal Salesforce project, there are chances that you will have minimum three sandboxes likely Developer Sandbox, QA Sandbox and UAT Sandbox. After some time\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce - Jenkins Git Polling Log","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Salesforce-Jenkins-Git-Polling-Log.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Salesforce-Jenkins-Git-Polling-Log.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Salesforce-Jenkins-Git-Polling-Log.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/03\/Salesforce-Jenkins-Git-Polling-Log.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":3448,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/using-git-with-force-com-ide-video-tutorial\/","url_meta":{"origin":4063,"position":1},"title":"Using GIT with Force.com IDE &#8211; Video Tutorial","author":"Jitendra","date":"September 23, 2013","format":false,"excerpt":"In this article, we discussed how to use GIT with Eclipse. I have created Video Tutorial for same which includes How to Upgrade Eclipse from Helios to Indigo Install EGIT Plugin Introduction to Bit Bucket","rel":"","context":"In &quot;Force.com&quot;","block_context":{"text":"Force.com","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/force-com\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3231,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/creating-first-application-in-heroku-using-eclipse\/","url_meta":{"origin":4063,"position":2},"title":"Creating First Application in Heroku using Eclipse","author":"Jitendra","date":"March 3, 2013","format":false,"excerpt":"Hello Readers, in this article we will see step by step procedure to deploy your first (Hello World) program in Heroku. There are two ways, first going through series of Commands of \"Heroku\" and \"GIT\" and other simple and smart way is to use Eclipse Capability with Heroku. To make\u2026","rel":"","context":"In &quot;JAVA&quot;","block_context":{"text":"JAVA","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/"},"img":{"alt_text":"Setting up Credentials for Heroku in Eclipse","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/03\/Setting-up-Credentials-for-Heroku-in-Eclipse.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/03\/Setting-up-Credentials-for-Heroku-in-Eclipse.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/03\/Setting-up-Credentials-for-Heroku-in-Eclipse.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":5463,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/how-to-setup-git-server-using-bitvise-ssh\/","url_meta":{"origin":4063,"position":3},"title":"How to setup Git Server using Bitvise SSH","author":"Jitendra","date":"April 20, 2016","format":false,"excerpt":"Step by step guide to setup Git Server using Bitvise SSH Server","rel":"","context":"In &quot;Tech Tips&quot;","block_context":{"text":"Tech Tips","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/tips\/"},"img":{"alt_text":"Biwise SSH Server Activity Log","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/04\/Biwise-SSH-Server-Activity-Log.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/04\/Biwise-SSH-Server-Activity-Log.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/04\/Biwise-SSH-Server-Activity-Log.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/04\/Biwise-SSH-Server-Activity-Log.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":3086,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-git-eclipse-egit-better-and-distributed-source-control\/","url_meta":{"origin":4063,"position":4},"title":"Salesforce + Git + Eclipse + EGIT = Better and Distributed Source Control","author":"Jitendra","date":"September 16, 2012","format":false,"excerpt":"During my J2EE and .Net days, I was much dependent on the subversion repository. I had never thought my code without SVN. When I moved to Salesforce few years back, the first thing I missed is code repository to have better source code control. As svn creates either \".svn\"\u009d or\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Architecture of GIT","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/09\/Architecture-of-GIT.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":31234,"url":"https:\/\/www.jitendrazaa.com\/blog\/ai\/claude-code-complete-guide-2026-from-basics-to-advanced-mcp-2\/","url_meta":{"origin":4063,"position":5},"title":"Claude Code Complete Guide 2026: From Basics to Advanced MCP, Agents &amp; Git Workflows","author":"Jitendra Zaa","date":"January 25, 2026","format":false,"excerpt":"Master Claude Code in 2026: Complete guide covering installation, MCP servers, subagents, Git workflows, IDE integrations, and advanced configurations.","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/ai\/"},"img":{"alt_text":"Claude Code Complete Guide 2026 - Featured Image","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2026\/01\/claude-code-complete-guide-featured.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2026\/01\/claude-code-complete-guide-featured.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2026\/01\/claude-code-complete-guide-featured.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2026\/01\/claude-code-complete-guide-featured.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2026\/01\/claude-code-complete-guide-featured.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/4063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=4063"}],"version-history":[{"count":3,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/4063\/revisions"}],"predecessor-version":[{"id":4067,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/4063\/revisions\/4067"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=4063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=4063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=4063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}