
{"id":33551,"date":"2021-04-04T17:33:05","date_gmt":"2021-04-04T17:33:05","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=33551"},"modified":"2021-04-04T17:34:41","modified_gmt":"2021-04-04T17:34:41","slug":"cpufetch-cli-fetch-cpu-information","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/04\/cpufetch-cli-fetch-cpu-information\/","title":{"rendered":"CPUFetch &#8211; Simple CLI Tool To Fetch CPU Information in Linux"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/intel-icon.png\" alt=\"\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-7422\" \/><\/p>\n<p><b>CPUFetch is a simple command line tool, a bit similar to Neofetch, but for fetching CPU architecture in Linux, Windows, macOS, and Android.<\/b><\/p>\n<p>The tool outputs the manufacturer logo (e.g., Intel, AMD) along with basic CPU info, including:<\/p>\n<ul>\n<li>CPU name.<\/li>\n<li>Micro-architecture.<\/li>\n<li>The semiconductor technology in nanometer (nm).<\/li>\n<li>Max frequency.<\/li>\n<li>Number of cores and threads.<\/li>\n<li>Advanced Vector Extensions (AVX)<\/li>\n<li>Fused-Multiply-Add (FMA)<\/li>\n<li>L1, L2, L3 cache sizes.<\/li>\n<li>Peak performance.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/04\/cpufetch-intel.png\" alt=\"\" width=\"600\" height=\"328\" class=\"aligncenter size-full wp-image-33552\" \/><\/p>\n<p>It supports custom colors and offers a few styles (themes). With it, you can easily take screenshot of the CPU information and share with your friends.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/04\/cpufetch-color.png\" alt=\"\" width=\"600\" height=\"286\" class=\"aligncenter size-full wp-image-33553\" \/><\/p>\n<h3>How to Install CPUFetch in Ubuntu:<\/h3>\n<p><a href=\"https:\/\/github.com\/Dr-Noob\/cpufetch\" rel=\"noopener\" target=\"_blank\">CPUFetch<\/a> so far do not offer an Ubuntu binary package. However, it&#8217;s easy to compile it in Linux.<\/p>\n<p><b>1.)<\/b> Firstly open terminal from system app launcher. When it opens, run command to clone the source:<\/p>\n<pre style=\"border:none;\">git clone https:\/\/github.com\/Dr-Noob\/cpufetch<\/pre>\n<p><i>Install git via <code style=\"border:none;\">sudo apt install git<\/code> command if you don&#8217;t have it.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/04\/git-cpufetch.png\" alt=\"\" width=\"600\" height=\"164\" class=\"aligncenter size-full wp-image-33554\" \/><\/p>\n<p><b>2.)<\/b> Then navigate to the source folder via cd command, and compile it via make:<\/p>\n<pre style=\"border:None;\">cd cpufetch && make<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/04\/make-cpufetch.png\" alt=\"\" width=\"600\" height=\"182\" class=\"aligncenter size-full wp-image-33555\" \/><\/p>\n<p><b>3.)<\/b> You are finally be able to run the tool via <b>.\/cpufetch<\/b> command in this directory!<\/p>\n<p>To be able to run via <b>cpufetch<\/b> command anywhere in terminal, copy the executable file to \/usr\/local\/bin:<\/p>\n<pre style=\"border:none;\">sudo mv ~\/cpufetch\/cpufetch \/usr\/local\/bin\/<\/pre>\n<h3>Uninstall:<\/h3>\n<p>To remove the source folder, run command:<\/p>\n<pre style=\"border:none;\">rm ~\/cpufetch -rf<\/pre>\n<p>And remove the executable file via command:<\/p>\n<pre style=\"border:none;\">sudo rm \/usr\/local\/bin\/cpufetch<\/pre>","protected":false},"excerpt":{"rendered":"<p>CPUFetch is a simple command line tool, a bit similar to Neofetch, but for fetching CPU architecture in Linux, Windows, macOS, and Android. The tool outputs the manufacturer logo (e.g., Intel, AMD) along with basic CPU info, including: CPU name. Micro-architecture. The semiconductor technology in nanometer (nm). Max frequency. Number of cores and threads. Advanced [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[],"class_list":["post-33551","post","type-post","status-publish","format-standard","hentry","category-app-review"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=33551"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33551\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=33551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=33551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=33551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}