<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>how to install zsh Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-install-zsh/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 24 Jun 2018 07:12:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Switch to ZSH on Linux</title>
		<link>https://www.osradar.com/switch-to-zsh-on-linux/</link>
					<comments>https://www.osradar.com/switch-to-zsh-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Sun, 24 Jun 2018 07:12:06 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[how to install zsh]]></category>
		<category><![CDATA[setup zsh]]></category>
		<category><![CDATA[zsh]]></category>
		<category><![CDATA[zsh linux]]></category>
		<category><![CDATA[zsh ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=4382</guid>

					<description><![CDATA[<p>If you’re a Linux user, since the very beginning, you’re familiar with the terminal. It’s the ultimate tool that can perform almost any task. Advanced users are very much fond of this tool. Terminal uses Bash shell by default. It’s enough for average users but lacks a few features. Bash isn’t a modern shell anymore. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/switch-to-zsh-on-linux/">Switch to ZSH on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you’re a Linux user, since the very beginning, you’re familiar with the terminal. It’s the ultimate tool that can perform almost any task. Advanced users are very much fond of this tool. Terminal uses Bash shell by default. It’s enough for average users but lacks a few features. Bash isn’t a modern shell anymore. A good and popular alternative is the Z shell, aka ZSH. It features major improvements above Bash.</p>
<p>Let’s switch from Bash to ZSH.</p>
<h2>Installing ZSH</h2>
<p>ZSH is one of the most popular alternatives to the Bash shell. That’s why it’s available in almost all the Linux distro repositories. You shouldn’t have any problem getting it into your system. Run the following command(s) according to your system.</p>
<ul>
<li>Ubuntu</li>
</ul>
<pre>sudo apt install zsh -y</pre>
<p><img loading="lazy" class="size-full wp-image-4388 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/install-zsh-ubuntu.png" alt="" width="1218" height="513" srcset="https://www.osradar.com/wp-content/uploads/2018/06/install-zsh-ubuntu.png 1218w, https://www.osradar.com/wp-content/uploads/2018/06/install-zsh-ubuntu-300x126.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/install-zsh-ubuntu-768x323.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/install-zsh-ubuntu-1024x431.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/install-zsh-ubuntu-696x293.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/install-zsh-ubuntu-1068x450.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/install-zsh-ubuntu-997x420.png 997w" sizes="(max-width: 1218px) 100vw, 1218px" /></p>
<ul>
<li>Debian</li>
</ul>
<pre>sudo apt-get install zsh -y</pre>
<ul>
<li>Fedora</li>
</ul>
<pre>sudo dnf install zsh</pre>
<ul>
<li>OpenSUSE</li>
</ul>
<pre>sudo zypper install zsh</pre>
<ul>
<li>Arch Linux</li>
</ul>
<p>Arch Linux uses ZSH by default. However, run the program for making sure that it does, in case you switched to Bash.</p>
<pre>sudo pacman -S zsh</pre>
<ul>
<li>Other Linux distros</li>
</ul>
<p>For other distros, you have to have &#8220;ncurses-devel&#8221; and &#8220;g++&#8221; installed in your system. Find those out for your Linux distro and install those.</p>
<p>Then, <a href="https://sourceforge.net/projects/zsh/files/">download the latest ZSH archive from SourceForge</a>.</p>
<p><img loading="lazy" class="size-full wp-image-4385 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-download-sourceforge.jpg" alt="" width="1021" height="384" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-download-sourceforge.jpg 1021w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-download-sourceforge-300x113.jpg 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-download-sourceforge-768x289.jpg 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-download-sourceforge-696x262.jpg 696w" sizes="(max-width: 1021px) 100vw, 1021px" /></p>
<p>Now, run the following commands:</p>
<pre># Running all the commands as sudo
sudo -s

cd ~/Downloads
tar -vxzf zsh-5.5.1.tar.gz
cd zsh-5.5.1

./configure
make
make check
make install</pre>
<h2>Configuring ZSH</h2>
<p>Now, let’s start configuring ZSH. At first, run the program from the terminal to open up the configuration wizard.</p>
<pre>zsh</pre>
<p><img loading="lazy" class="size-full wp-image-4389 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-1.png" alt="" width="1218" height="452" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-1.png 1218w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-1-300x111.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-1-768x285.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-1-1024x380.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-1-696x258.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-1-1068x396.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-1-1132x420.png 1132w" sizes="(max-width: 1218px) 100vw, 1218px" /></p>
<p>From the opened up window, press 1.</p>
<p><img loading="lazy" class="size-full wp-image-4390 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-2.png" alt="" width="1221" height="399" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-2.png 1221w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-2-300x98.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-2-768x251.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-2-1024x335.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-2-696x227.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-2-1068x349.png 1068w" sizes="(max-width: 1221px) 100vw, 1221px" /></p>
<p>&nbsp;</p>
<p>There are more options to choose from. As we’re configuring the shell completely new, hit 1 again.</p>
<p><img loading="lazy" class="size-full wp-image-4391 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-3.png" alt="" width="1221" height="322" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-3.png 1221w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-3-300x79.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-3-768x203.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-3-1024x270.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-3-696x184.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-3-1068x282.png 1068w" sizes="(max-width: 1221px) 100vw, 1221px" /></p>
<p>From here, press 1 for setting the line-size of history, press 2 for creating the new history file and press 3 for customizing the number of lines to save.</p>
<p><img loading="lazy" class="size-full wp-image-4392 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-1.png" alt="" width="1222" height="391" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-1.png 1222w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-1-300x96.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-1-768x246.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-1-1024x328.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-1-696x223.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-1-1068x342.png 1068w" sizes="(max-width: 1222px) 100vw, 1222px" /></p>
<p><img loading="lazy" class="alignnone size-full wp-image-4393" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-2.png" alt="" width="1219" height="437" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-2.png 1219w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-2-300x108.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-2-768x275.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-2-1024x367.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-2-696x250.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-2-1068x383.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-2-1172x420.png 1172w" sizes="(max-width: 1219px) 100vw, 1219px" /></p>
<p><img loading="lazy" class="size-full wp-image-4394 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-3.png" alt="" width="1219" height="382" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-3.png 1219w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-3-300x94.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-3-768x241.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-3-1024x321.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-3-696x218.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-4-3-1068x335.png 1068w" sizes="(max-width: 1219px) 100vw, 1219px" /></p>
<p>Then, press “q” to return back to the main menu.</p>
<p><img loading="lazy" class="size-full wp-image-4395 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-5.png" alt="" width="1217" height="381" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-5.png 1217w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-5-300x94.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-5-768x240.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-5-1024x321.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-5-696x218.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-5-1068x334.png 1068w" sizes="(max-width: 1217px) 100vw, 1217px" /></p>
<p>Press 2 for setting up the auto-complete system. From there, press 1.</p>
<p><img loading="lazy" class="size-full wp-image-4396 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-6.png" alt="" width="1217" height="377" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-6.png 1217w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-6-300x93.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-6-768x238.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-6-1024x317.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-6-696x216.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-6-1068x331.png 1068w" sizes="(max-width: 1217px) 100vw, 1217px" /></p>
<p>Now, everything is about to complete. If you’re an advanced user, you can surf through the options and make more changes as you like. After everything is complete, press 0 for saving the changes and exiting the shell.</p>
<p><img loading="lazy" class="size-full wp-image-4397 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-7.png" alt="" width="1217" height="316" /></p>
<h2>Changing default shell</h2>
<p>Now, ZSH is ready to use. However, it isn’t the default shell solution that terminal will load every time. For solving the issue, run the following commands:</p>
<pre>sudo -s
which zsh
chsh -s /usr/bin/zsh</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now, reboot your system.</p>
<p>Voila! Your system is running ZSH. For having more customizability with your ZSH shell, you should <a href="https://ohmyz.sh/">install Oh My ZSH</a>. It&#8217;s a lightweight and powerful tool for customizing ZSH. <a href="https://github.com/robbyrussell/oh-my-zsh/#using-oh-my-zsh">Here is all the usage of the tool</a>.</p>
<p><img loading="lazy" class="size-full wp-image-4399 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/zsh-9.png" alt="" width="1222" height="559" srcset="https://www.osradar.com/wp-content/uploads/2018/06/zsh-9.png 1222w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-9-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-9-768x351.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-9-1024x468.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-9-696x318.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-9-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/zsh-9-918x420.png 918w" sizes="(max-width: 1222px) 100vw, 1222px" /></p>
<p>You can even <a href="https://www.osradar.com/show-asterisks-visible-linux-terminal/">show asterisks when you type the password for &#8220;sudo&#8221;</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/switch-to-zsh-on-linux/">Switch to ZSH on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/switch-to-zsh-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
