{"id":70421,"date":"2019-09-12T04:16:04","date_gmt":"2019-09-12T11:16:04","guid":{"rendered":"http:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/"},"modified":"2019-09-12T04:16:04","modified_gmt":"2019-09-12T11:16:04","slug":"moving-your-javascript-development-to-bash-on-windows","status":"publish","type":"post","link":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/","title":{"rendered":"Moving Your JavaScript Development To Bash On Windows"},"content":{"rendered":"<link rel=\"canonical\" href=\"https:\/\/www.smashingmagazine.com\/2019\/09\/moving-javascript-development-bash-windows\/\"><title>Moving Your JavaScript Development To Bash On Windows<\/title><\/p>\n<article>\n<header>\n<h1>Moving Your JavaScript Development To Bash On Windows<\/h1>\n<address>Burke Holland<\/address>\n<p>                  <time datetime=\"2019-09-11T12:30:59+02:00\">2019-09-11T12:30:59+02:00<\/time><time datetime=\"2019-09-12T11:07:52+00:00\">2019-09-12T11:07:52+00:00<\/time><\/header>\n<p>I\u2019m one of those people who can\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\u2019m on a Mac. It wasn\u2019t until the new Surface hardware line came out a few years ago that I realized: <strong>I gotta have one of those<\/strong>.<\/p>\n<p>So I got one. A Surface Book 2 running Windows 10 to be exact. I\u2019m drafting this article on it right now. And what of my sweet, sweet Bash prompt? Well, I brought it along with me, of course.<\/p>\n<p>In this article, I\u2019m going to take an in-depth look at how new technology in Windows 10 enables you to run a full Linux terminal on Windows. I\u2019ll also show you my amazing terminal setup (which was named \u201cbest ever\u201d by \u201cme\u201d) and how you too can set up your very own Windows\/Linux development machine.<\/p>\n<p>If you\u2019ve been craving some of that Surface hardware but can\u2019t live without a Linux terminal, you\u2019ve come to the right place.<\/p>\n<p><strong>Note<\/strong>: <em>At the time of this writing, a lot of the items in this article will require you to use or switch to \u201cpreview\u201d or \u201cinsiders\u201d builds of various items, including Windows. Most of these things will be in the main Windows build at some point in the future.<\/em><\/p>\n<div data-component=\"FeaturePanel\" data-audience=\"non-subscriber\" data-remove=\"true\"><\/div>\n<h3>Windows Subsystem For Linux (WSL)<\/h3>\n<p>The <a href=\"https:\/\/docs.microsoft.com\/windows\/wsl\/install-win10?WT.mc_id=smashingmag-article-buhollan\">Windows Subsystem for Linux<\/a>, or, \u201cWSL\u201d is what enables you to run Linux on Windows. But what exactly <em>is<\/em> this mad science?<\/p>\n<p>The WSL, in its current incarnation, is a translation layer that converts Linux system calls into Windows system calls. Linux runs on top of the WSL. That means that in order to get Linux on Windows, you need to do three things:<\/p>\n<ol>\n<li>Enable the WSL,<\/li>\n<li>Install Linux,<\/li>\n<li>Always include three items in a list.<\/li>\n<\/ol>\n<p>As it turns out, that translation layer is a tad on the slow side \u2014 kind of like me trying to remember if I need <code>splice<\/code>  or <code>slice<\/code>. This is especially true when the WSL is reading and writing to the file system. That\u2019s kind of a big problem for web developers since any proper  <code>npm install<\/code> will copy thousands of files to your machine. I mean, I don\u2019t know about you, but I\u2019m not going to left-pad my <em>own<\/em> strings.<\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/windows\/wsl\/wsl2-install?WT.mc_id=smashingmag-article-buhollan\">Version 2 of the WSL<\/a> is a different story. It is considerably faster than the current version because it leverages a virtualization core in Windows instead of using the translation layer. When I say it\u2019s \u201cconsiderably faster\u201d, I mean way, way faster. Like as fast as me Googling \u201csplice vs slice\u201d.<\/p>\n<p>For that reason, I\u2019m going to show how to install the WSL 2. At the time of writing, that is going to require you to be on the \u201cInsider\u201d build of Windows.<\/p>\n<p>First things first: <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/install-win10?WT.mc_id=smashingmag-article-buhollan\">follow this short guide<\/a> to enable the WSL on Windows 10 and check your Windows version number.<\/p>\n<p>Once you have it installed, hit the Windows key and type \u201cwindows insider\u201d. Then choose \u201cWindows Insider Program Settings\u201d.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/37198e05-1543-47a1-923a-547d98288145\/js-dev-bash-windowswindows-insiders-start.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswindows-insiders-start.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/37198e05-1543-47a1-923a-547d98288145\/js-dev-bash-windowswindows-insiders-start.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/37198e05-1543-47a1-923a-547d98288145\/js-dev-bash-windowswindows-insiders-start.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/37198e05-1543-47a1-923a-547d98288145\/js-dev-bash-windowswindows-insiders-start.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/37198e05-1543-47a1-923a-547d98288145\/js-dev-bash-windowswindows-insiders-start.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswindows-insiders-start.png?w=900\" sizes=\"100vw\" alt=\"Windows Insider Program settings menu option\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/37198e05-1543-47a1-923a-547d98288145\/js-dev-bash-windowswindows-insiders-start.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>You\u2019ll have a couple of different options as to which \u201cring\u201d you want to be on. A lot of people I know are on the fast ring. I\u2019m a cautious guy, though. When I was a kid I would go down the slide at the playground on my stomach holding on to the sides. Which is why I stay on the slow ring. I\u2019ve been on it for several months now, and I find it to be no more disruptive or unstable than regular Windows.<\/p>\n<p>It\u2019s a good option if you want the WSL 2, but you don\u2019t want to die on the slide.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9829ae58-c6e4-4008-8362-106b969c790c\/js-dev-bash-windowsinsider-slow.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsinsider-slow.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9829ae58-c6e4-4008-8362-106b969c790c\/js-dev-bash-windowsinsider-slow.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9829ae58-c6e4-4008-8362-106b969c790c\/js-dev-bash-windowsinsider-slow.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9829ae58-c6e4-4008-8362-106b969c790c\/js-dev-bash-windowsinsider-slow.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9829ae58-c6e4-4008-8362-106b969c790c\/js-dev-bash-windowsinsider-slow.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsinsider-slow.png?w=900\" sizes=\"100vw\" alt=\"Windows Insider settings screen showing \u201cSlow\u201d ring\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9829ae58-c6e4-4008-8362-106b969c790c\/js-dev-bash-windowsinsider-slow.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Next, you need to enable the \u201cVirtual Machine Platform\u201d feature in Windows, which is required by the WSL version 2. To get to this screen, press the Windows key and type \u201cwindows features\u201d. Then select \u201cTurn Windows Features on or off\u201d. Select \u201cVirtual Machine Platform\u201d. The \u201cWindows Subsystem for Linux\u201d option should already be enabled.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/99e5d3f3-44c8-414c-9e6e-cc256eab1bb3\/js-dev-bash-windowsturn-on-windows-features.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsturn-on-windows-features.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/99e5d3f3-44c8-414c-9e6e-cc256eab1bb3\/js-dev-bash-windowsturn-on-windows-features.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/99e5d3f3-44c8-414c-9e6e-cc256eab1bb3\/js-dev-bash-windowsturn-on-windows-features.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/99e5d3f3-44c8-414c-9e6e-cc256eab1bb3\/js-dev-bash-windowsturn-on-windows-features.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/99e5d3f3-44c8-414c-9e6e-cc256eab1bb3\/js-dev-bash-windowsturn-on-windows-features.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsturn-on-windows-features.png?w=900\" sizes=\"100vw\" alt=\"The \u201cWindows Features\u201d screen with \u201cVirtual Machine Platform\u201d and \u201cWindows Subsystem for Linux\u201d highlighted\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/99e5d3f3-44c8-414c-9e6e-cc256eab1bb3\/js-dev-bash-windowsturn-on-windows-features.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Now that the WSL is enabled, you can install Linux. You do this, ironically enough, directly from the Windows Store. Only in 2019 would I suggest that you \u201cinstall Linux from the Windows store\u201d.<\/p>\n<p>There are several different distributions to choose from, but Ubuntu is going to be the most supported across all the tools we\u2019ll configure later on \u2014 including VS Code. All of the instructions that come from here on out with assume a Ubuntu install. If you install a different distro, all bets are off.<\/p>\n<p>Search for \u201cUbuntu\u201d from the Windows Store. There will be three to choose from: Ubuntu, Ubuntu 18.04, and Ubuntu 16.04. Ubuntu really likes that 04 minor version number, don\u2019t they?<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c9aaa2c1-f583-473c-9179-0a94f895237a\/js-dev-bash-windowslinux-windows-store.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowslinux-windows-store.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c9aaa2c1-f583-473c-9179-0a94f895237a\/js-dev-bash-windowslinux-windows-store.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c9aaa2c1-f583-473c-9179-0a94f895237a\/js-dev-bash-windowslinux-windows-store.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c9aaa2c1-f583-473c-9179-0a94f895237a\/js-dev-bash-windowslinux-windows-store.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c9aaa2c1-f583-473c-9179-0a94f895237a\/js-dev-bash-windowslinux-windows-store.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowslinux-windows-store.png?w=900\" sizes=\"100vw\" alt=\"The \u201cUbuntu\u201d item in the Windows Store\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c9aaa2c1-f583-473c-9179-0a94f895237a\/js-dev-bash-windowslinux-windows-store.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>The \u201cUbuntu\u201d distro (the first one in this screenshot) is the \u201cmeta version\u201d, or rather a placeholder that just points to the latest version. As of right now, that\u2019s 18.04.<\/p>\n<p>I went with the meta version because later on I\u2019ll show you how to browse the Linux file system with Windows Explorer and it\u2019s kinda messy to have \u201cUbuntu 18.04\u201d as a drive name vs just \u201cUbuntu\u201d.<\/p>\n<p>This install is pretty quick depending on your internet connection. It\u2019s only about 215 megabytes, but I am on a gigabit connection over here and how do you know if someone is on a gigabit connection? Don\u2019t worry, they\u2019ll tell you.<\/p>\n<p>Once installed, you\u2019ll now have an \u201cUbuntu\u201d app in your start menu.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9c5d7fd6-3e77-46cc-80e1-6f7e913eebcc\/js-dev-bash-windowsubuntu-start-menu.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsubuntu-start-menu.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9c5d7fd6-3e77-46cc-80e1-6f7e913eebcc\/js-dev-bash-windowsubuntu-start-menu.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9c5d7fd6-3e77-46cc-80e1-6f7e913eebcc\/js-dev-bash-windowsubuntu-start-menu.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9c5d7fd6-3e77-46cc-80e1-6f7e913eebcc\/js-dev-bash-windowsubuntu-start-menu.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9c5d7fd6-3e77-46cc-80e1-6f7e913eebcc\/js-dev-bash-windowsubuntu-start-menu.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsubuntu-start-menu.png?w=900\" sizes=\"100vw\" alt=\"Ubuntu installed and showing up in the Windows Start menu\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/9c5d7fd6-3e77-46cc-80e1-6f7e913eebcc\/js-dev-bash-windowsubuntu-start-menu.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>If you click on that, you\u2019ll get a Bash terminal!<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/50d2559a-b4b1-4f2a-aa3e-6ef1c0f92270\/js-dev-bash-windowsubuntu-terminal.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsubuntu-terminal.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/50d2559a-b4b1-4f2a-aa3e-6ef1c0f92270\/js-dev-bash-windowsubuntu-terminal.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/50d2559a-b4b1-4f2a-aa3e-6ef1c0f92270\/js-dev-bash-windowsubuntu-terminal.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/50d2559a-b4b1-4f2a-aa3e-6ef1c0f92270\/js-dev-bash-windowsubuntu-terminal.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/50d2559a-b4b1-4f2a-aa3e-6ef1c0f92270\/js-dev-bash-windowsubuntu-terminal.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsubuntu-terminal.png?w=900\" sizes=\"100vw\" alt=\"The Ubuntu terminal running on Windows\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/50d2559a-b4b1-4f2a-aa3e-6ef1c0f92270\/js-dev-bash-windowsubuntu-terminal.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Take a moment to bask in the miracle of technology.<\/p>\n<p>By default, you\u2019ll be running in the WSL version 1. To upgrade to version 2, you\u2019ll need to open a PowerShell terminal and run a command.<\/p>\n<p>Hit the \u201cWindows\u201d key and type \u201cPowershell\u201d.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/15985770-de7b-4942-b07d-52f9fb368874\/js-dev-bash-windowsstart-menu-powershell.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsstart-menu-powershell.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/15985770-de7b-4942-b07d-52f9fb368874\/js-dev-bash-windowsstart-menu-powershell.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/15985770-de7b-4942-b07d-52f9fb368874\/js-dev-bash-windowsstart-menu-powershell.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/15985770-de7b-4942-b07d-52f9fb368874\/js-dev-bash-windowsstart-menu-powershell.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/15985770-de7b-4942-b07d-52f9fb368874\/js-dev-bash-windowsstart-menu-powershell.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsstart-menu-powershell.png?w=900\" sizes=\"100vw\" alt=\"The \u201cPowershell\u201d item in the start menu\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/15985770-de7b-4942-b07d-52f9fb368874\/js-dev-bash-windowsstart-menu-powershell.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>From the PowerShell terminal, you can see which version of the WSL you have by executing <code>wsl<\/code> <code>--<\/code><code>list<\/code> <code>--<\/code><code>versbose<\/code>.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7983c40a-c73c-4049-b5ae-38ab246259db\/js-dev-bash-windowswsl-list-verbose.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl-list-verbose.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7983c40a-c73c-4049-b5ae-38ab246259db\/js-dev-bash-windowswsl-list-verbose.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7983c40a-c73c-4049-b5ae-38ab246259db\/js-dev-bash-windowswsl-list-verbose.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7983c40a-c73c-4049-b5ae-38ab246259db\/js-dev-bash-windowswsl-list-verbose.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7983c40a-c73c-4049-b5ae-38ab246259db\/js-dev-bash-windowswsl-list-verbose.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl-list-verbose.png?w=900\" sizes=\"100vw\" alt=\"Doing a verbose list of all WSL instances running from within Powershell\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7983c40a-c73c-4049-b5ae-38ab246259db\/js-dev-bash-windowswsl-list-verbose.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>If you\u2019re showing version 1, you\u2019ll need to execute the <code>--set-version<\/code> command and specify the name of the instance (Ubuntu) and the version you want (2).<\/p>\n<pre><code>wsl --set-version Ubuntu 2\n<\/code><\/pre>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/71039929-d983-415b-bf06-0631abc0422b\/js-dev-bash-windowswsl-set-version.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl-set-version.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/71039929-d983-415b-bf06-0631abc0422b\/js-dev-bash-windowswsl-set-version.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/71039929-d983-415b-bf06-0631abc0422b\/js-dev-bash-windowswsl-set-version.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/71039929-d983-415b-bf06-0631abc0422b\/js-dev-bash-windowswsl-set-version.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/71039929-d983-415b-bf06-0631abc0422b\/js-dev-bash-windowswsl-set-version.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl-set-version.png?w=900\" sizes=\"100vw\" alt=\"Setting the version of WSL to version 2 with Powershell\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/71039929-d983-415b-bf06-0631abc0422b\/js-dev-bash-windowswsl-set-version.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>This is going to take a bit, depending on how much meat your machine has. Mine took \u201csome minutes\u201d give or take. When it\u2019s done, you\u2019ll be on the latest and greatest version of the WSL.<\/p>\n<div><\/div>\n<h3>The Is Your Brain On Linux\u2026 On Windows.<\/h3>\n<p>Linux is not Windows. WSL is not a bash prompt on top of a Windows operating system. It is a full operating system unto itself with its own folder structure and installed applications. If you install Node with the Windows installer, typing <code>node<\/code> in Linux is going to fail because Node is not installed in Linux. It\u2019s installed on Windows.<\/p>\n<p>The true magic of the WSL, though, lies in the way it seamlessly connects Windows and Linux so that they appear as one file system on your machine.<\/p>\n<h4>File And Folder Navigation<\/h4>\n<p>By default, the Ubuntu terminal drops you into your Linux home directory (or <code>\/home\/your-user-name<\/code>). You can move onto the Windows side by going to <code>\/mnt\/c<\/code>.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/fd1606f2-ee3c-4cb1-9de4-6608eb384e69\/js-dev-bash-windowsbrowse-d-drive.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsbrowse-d-drive.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/fd1606f2-ee3c-4cb1-9de4-6608eb384e69\/js-dev-bash-windowsbrowse-d-drive.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/fd1606f2-ee3c-4cb1-9de4-6608eb384e69\/js-dev-bash-windowsbrowse-d-drive.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/fd1606f2-ee3c-4cb1-9de4-6608eb384e69\/js-dev-bash-windowsbrowse-d-drive.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/fd1606f2-ee3c-4cb1-9de4-6608eb384e69\/js-dev-bash-windowsbrowse-d-drive.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsbrowse-d-drive.png?w=900\" sizes=\"100vw\" alt=\"The Ubuntu terminal with the contents for the C drive listed out\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/fd1606f2-ee3c-4cb1-9de4-6608eb384e69\/js-dev-bash-windowsbrowse-d-drive.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Notice that some permissions are denied here. I would have to right-click the Ubuntu icon and click \u201cRun as Administrator\u201d to get access to these files. This how Windows does elevated permissions. There is no sudo on Windows.<\/p>\n<h4>Launching Applications<\/h4>\n<p>You can launch any Windows application from the Ubuntu terminal. For instance, I can open Windows Explorer from the Unbuntu terminal.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4450cc85-cf65-4813-8cf2-fe6fe5940904\/js-dev-bash-windowsopen-explorer-from-linux.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsopen-explorer-from-linux.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4450cc85-cf65-4813-8cf2-fe6fe5940904\/js-dev-bash-windowsopen-explorer-from-linux.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4450cc85-cf65-4813-8cf2-fe6fe5940904\/js-dev-bash-windowsopen-explorer-from-linux.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4450cc85-cf65-4813-8cf2-fe6fe5940904\/js-dev-bash-windowsopen-explorer-from-linux.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4450cc85-cf65-4813-8cf2-fe6fe5940904\/js-dev-bash-windowsopen-explorer-from-linux.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsopen-explorer-from-linux.png?w=900\" sizes=\"100vw\" alt=\"The Windows Explorer and the the Ubuntu terminal\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4450cc85-cf65-4813-8cf2-fe6fe5940904\/js-dev-bash-windowsopen-explorer-from-linux.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>This also works in reverse. You can execute any application installed on the Linux side. Here I am executing \u201cfortune\u201d installed in Linux from the Windows command line. (Because it ain\u2019t a proper Linux install without random, meaningless fortunes.)<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db839a12-49eb-41ca-840b-0a3eb03d3e44\/js-dev-bash-windowswsl-fortune.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl-fortune.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db839a12-49eb-41ca-840b-0a3eb03d3e44\/js-dev-bash-windowswsl-fortune.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db839a12-49eb-41ca-840b-0a3eb03d3e44\/js-dev-bash-windowswsl-fortune.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db839a12-49eb-41ca-840b-0a3eb03d3e44\/js-dev-bash-windowswsl-fortune.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db839a12-49eb-41ca-840b-0a3eb03d3e44\/js-dev-bash-windowswsl-fortune.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl-fortune.png?w=900\" sizes=\"100vw\" alt=\"The Windows Command Line executing the Linux \u201cfortune\u201d program\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db839a12-49eb-41ca-840b-0a3eb03d3e44\/js-dev-bash-windowswsl-fortune.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Two different operating systems. Two different file systems. Two different sets of installed applications. See how this could get confusing?<\/p>\n<p>In order to keep everything straight, I recommend that you keep all your JavaScript development files and tools installed on the Linux side of things. That said, the ability to move between Windows and Linux and access files from both systems is the core magic of the WSL. Don\u2019t forget it, cause it\u2019s what makes this whole setup better than just a standard Linux box.<\/p>\n<h3>Setting Up Your Development Environment<\/h3>\n<p>From here on out, I\u2019m going to give you a list of opinionated items for what I think makes a killer Linux on Windows setup. Just remember: my opinions are just that. <em>Opinions<\/em>. It just happens that just like all my opinions, they are 100% correct.<\/p>\n<h3>Getting A Better Terminal<\/h3>\n<p>Yes, you got a terminal when you installed Ubuntu. It\u2019s actually the Windows Console connected to your Linux distro. It\u2019s not a bad console. You can resize it, turn on copy\/paste (in settings). But you can\u2019t do things like tabs or open new windows. Just like a lot of people use replacement terminal programs on Mac (I use Hyper), there are other options for Windows as well. The <a href=\"https:\/\/github.com\/sirredbeard\/Awesome-WSL#terminals\">Awesome WSL<\/a> list on Github contains a pretty exhaustive list.<\/p>\n<p>Those are all fine emulators, but there is a new option that is built by people who know Windows pretty well.<\/p>\n<p>Microsoft has been working on a new application called \u201c<a href=\"https:\/\/www.microsoft.com\/p\/windows-terminal-preview\/9n0dx20hk701?activetab=pivot:overviewtab&#038;WT.mc_id=smashingmag-article-buhollan\">Windows Terminal<\/a>\u201d.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/014d8229-9fcd-4066-b478-049968ce144d\/js-dev-bash-windowswindows-terminal-store.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswindows-terminal-store.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/014d8229-9fcd-4066-b478-049968ce144d\/js-dev-bash-windowswindows-terminal-store.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/014d8229-9fcd-4066-b478-049968ce144d\/js-dev-bash-windowswindows-terminal-store.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/014d8229-9fcd-4066-b478-049968ce144d\/js-dev-bash-windowswindows-terminal-store.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/014d8229-9fcd-4066-b478-049968ce144d\/js-dev-bash-windowswindows-terminal-store.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswindows-terminal-store.png?w=900\" sizes=\"100vw\" alt=\"The Windows Terminal item  in the Windows Store\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/014d8229-9fcd-4066-b478-049968ce144d\/js-dev-bash-windowswindows-terminal-store.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Windows Terminal can be installed from the <a href=\"https:\/\/www.microsoft.com\/p\/windows-terminal-preview\/9n0dx20hk701?activetab=pivot:overviewtab&#038;WT.mc_id=smashingmag-article-buhollan\">Windows Store<\/a> and is currently in preview mode. I\u2019ve been using it for quite a while now, and it has enough features and is stable enough for me to give it a full-throated endorsement.<\/p>\n<p>The new Windows Terminal features a full tab interface, copy\/paste, multiple profiles, transparent backgrounds, background images \u2014 even transparent background images. It\u2019s a field day if you like to customize your terminal, and I came to win this sack race.<\/p>\n<p>Here is my current terminal. We\u2019ll take a walk through some of the important tweaks here.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c4df1def-f68e-41fe-8091-a99b941934d7\/js-dev-bash-windowsmy-current-terminal.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsmy-current-terminal.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c4df1def-f68e-41fe-8091-a99b941934d7\/js-dev-bash-windowsmy-current-terminal.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c4df1def-f68e-41fe-8091-a99b941934d7\/js-dev-bash-windowsmy-current-terminal.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c4df1def-f68e-41fe-8091-a99b941934d7\/js-dev-bash-windowsmy-current-terminal.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c4df1def-f68e-41fe-8091-a99b941934d7\/js-dev-bash-windowsmy-current-terminal.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsmy-current-terminal.png?w=900\" sizes=\"100vw\" alt=\"The author\u2019s current terminal: Dark blue background with a cartoon planet in the bottom right-hand corner. Green and white text.\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/c4df1def-f68e-41fe-8091-a99b941934d7\/js-dev-bash-windowsmy-current-terminal.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Windows terminal is quite customizable. Clicking the \u201c<span><strong>?<\/strong><\/span>\u201d arrow at the top left (next to the \u201c<span><strong>&plus;<\/strong><\/span>\u201d sign) gives you access to \u201cSettings\u201d. This will open a JSON file.<\/p>\n<h3>Bind Copy\/Paste<\/h3>\n<p>At the top of the file are all of the key bindings. The first thing that I did was map \u201ccopy\u201d to <kbd>Ctrl + C<\/kbd> and paste to <kbd>Ctrl + V<\/kbd>. How else am I going to copy and paste in commands from Stack Overflow that I don\u2019t understand?<\/p>\n<pre><code>{\n  \"command\": \"copy\",\n  \"keys\": [\"ctrl+c\"]\n},\n{\n  \"command\": \"paste\",\n  \"keys\": [\"ctrl+v\"]\n},\n<\/code><\/pre>\n<p>The problem is that <kbd>Ctrl + C<\/kbd> is already mapped to SIGINT, or the Interrupt\/kill command on Linux. There are a lot of terminals out there for Windows that handle this by mapping Copy\/Paste to <kbd>Ctrl + Shift + C<\/kbd> and <kbd>Ctrl + Shift + V<\/kbd> respectively. The problem is that copy\/paste is <kbd>Ctrl + C<\/kbd> \/ <kbd>Ctrl + V<\/kbd> every other single place in Windows. I just kept pressing <kbd>Ctrl + C<\/kbd> in the terminal over and over again trying to copy things. I could not stop doing it.<\/p>\n<p>The Windows terminal handles this differently. If you have text highlighted and you press <kbd>Ctrl + C<\/kbd>, it will copy the text. If there is a running process, it still sends the SIGINT command down and interrupts it. The means that you can safely map <kbd>Ctrl + C<\/kbd> \/ <kbd>Ctrl + V<\/kbd> to Copy\/Paste in the Windows Terminal and it won\u2019t interfere with your ability to interrupt processes.<\/p>\n<p>Whoever thought Copy\/Paste could cause so much heartache?<\/p>\n<div><\/div>\n<h3>Change The Default Profile<\/h3>\n<p>The default profile is what comes up when a new tab is opened. By default, that\u2019s Powershell. You\u2019ll want to scroll down and find the Linux profile. This is the one that opens <code>wsl.exe -d Ubuntu<\/code>. Copy its GUID and paste it into the <code>defaultProfile<\/code> setting.<\/p>\n<p>I\u2019ve moved these two settings so they are right next to each other to make it easier to see:<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/be71fbef-dc45-4763-9fc8-4e5105acd4d9\/js-dev-bash-windowsset-default-profile.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsset-default-profile.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/be71fbef-dc45-4763-9fc8-4e5105acd4d9\/js-dev-bash-windowsset-default-profile.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/be71fbef-dc45-4763-9fc8-4e5105acd4d9\/js-dev-bash-windowsset-default-profile.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/be71fbef-dc45-4763-9fc8-4e5105acd4d9\/js-dev-bash-windowsset-default-profile.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/be71fbef-dc45-4763-9fc8-4e5105acd4d9\/js-dev-bash-windowsset-default-profile.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsset-default-profile.png?w=900\" sizes=\"100vw\" alt=\"The default Terminal profile highlighted in the settings.json file\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/be71fbef-dc45-4763-9fc8-4e5105acd4d9\/js-dev-bash-windowsset-default-profile.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<h3>Set The Background<\/h3>\n<p>I like my background to be a dark solid color with a flat-ish logo in the right-hand corner. I do this because I want the logo to be bright and visible, but not in the way of the text. This one I made myself, but there is a great collection of flat images to pick from at <a href=\"http:\/\/simpledesktops.com\/\">Simple Desktops<\/a>.<\/p>\n<p>The background is set with the <code>backgroundImage<\/code> property:<\/p>\n<pre><code>\"backgroundImage\": \"c:\/Users\/YourUserName\/Pictures\/earth.png\"\n<\/code><\/pre>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/49339f19-e238-4fb0-aaa7-f003fc4746bd\/js-dev-bash-windowsterminal-background.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsterminal-background.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/49339f19-e238-4fb0-aaa7-f003fc4746bd\/js-dev-bash-windowsterminal-background.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/49339f19-e238-4fb0-aaa7-f003fc4746bd\/js-dev-bash-windowsterminal-background.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/49339f19-e238-4fb0-aaa7-f003fc4746bd\/js-dev-bash-windowsterminal-background.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/49339f19-e238-4fb0-aaa7-f003fc4746bd\/js-dev-bash-windowsterminal-background.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsterminal-background.png?w=900\" sizes=\"100vw\" alt=\"A blue sqaure image with a cartoon planet in the bottom right-hand corner\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/49339f19-e238-4fb0-aaa7-f003fc4746bd\/js-dev-bash-windowsterminal-background.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>You\u2019ll also notice a setting called \u201cacrylic\u201d. This is what enables you to adjust the opacity of the background. If you have a solid background color, this is pretty straightforward.<\/p>\n<pre><code>\"background\": \"#336699\",\n\"useAcrylic\": true,\n\"acrylicOpacity\": 0.5\n<\/code><\/pre>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db780c6b-1269-4109-bc62-ef5d321ab290\/js-dev-bash-windowsacrylic-solid.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsacrylic-solid.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db780c6b-1269-4109-bc62-ef5d321ab290\/js-dev-bash-windowsacrylic-solid.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db780c6b-1269-4109-bc62-ef5d321ab290\/js-dev-bash-windowsacrylic-solid.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db780c6b-1269-4109-bc62-ef5d321ab290\/js-dev-bash-windowsacrylic-solid.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db780c6b-1269-4109-bc62-ef5d321ab290\/js-dev-bash-windowsacrylic-solid.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsacrylic-solid.png?w=900\" sizes=\"100vw\" alt=\"The terminal with the background slightly transparent\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/db780c6b-1269-4109-bc62-ef5d321ab290\/js-dev-bash-windowsacrylic-solid.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>You can pull this off with a background image as well, by combining the <code>arcylicOpacity<\/code> setting with the <code>backgroundImageOpacity<\/code>:<\/p>\n<div>\n<pre><code>\"backgroundImage\": \"c:\/Users\/username\/Pictures\/earth-and-stars.png\",\n\"useAcrylic\": true,\n\"acrylicOpacity\": 0.5\n<\/code><\/pre>\n<\/div>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1021f0fc-bcf4-4248-a081-8737254fba06\/js-dev-bash-windowsearth-transparent.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsearth-transparent.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1021f0fc-bcf4-4248-a081-8737254fba06\/js-dev-bash-windowsearth-transparent.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1021f0fc-bcf4-4248-a081-8737254fba06\/js-dev-bash-windowsearth-transparent.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1021f0fc-bcf4-4248-a081-8737254fba06\/js-dev-bash-windowsearth-transparent.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1021f0fc-bcf4-4248-a081-8737254fba06\/js-dev-bash-windowsearth-transparent.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsearth-transparent.png?w=900\" sizes=\"100vw\" alt=\"The terminal with both a transparent image and a trasparent background\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1021f0fc-bcf4-4248-a081-8737254fba06\/js-dev-bash-windowsearth-transparent.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>For my theme, transparency makes everything look muted, so I keep the <code>useAcrylic<\/code> set to <code>false<\/code>.<\/p>\n<h3>Change The Font<\/h3>\n<p>The team building the Windows Terminal is also working on a new font called \u201cCascadia Code\u201d. It\u2019s not available as of the time of this writing, so you get the default Windows font instead.<\/p>\n<p>The default font in the Windows Terminal is \u201cConsolas\u201d. This is the same font that the Windows command line uses. If you want that true Ubuntu feel, <a href=\"https:\/\/www.howtogeek.com\/249966\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/\">Chris Hoffman<\/a> points out how you can install the official <a href=\"https:\/\/design.ubuntu.com\/font\/\">Ubuntu Mono font<\/a>.<\/p>\n<p>Here\u2019s a before and after so you can see the difference:<\/p>\n<pre><code>\"fontFace\": \"Ubuntu Mono\"\n<\/code><\/pre>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4b4550d7-1f44-467a-890b-25f9f62c76c4\/js-dev-bash-windowsubuntu-vs-consolas-mono.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsubuntu-vs-consolas-mono.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4b4550d7-1f44-467a-890b-25f9f62c76c4\/js-dev-bash-windowsubuntu-vs-consolas-mono.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4b4550d7-1f44-467a-890b-25f9f62c76c4\/js-dev-bash-windowsubuntu-vs-consolas-mono.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4b4550d7-1f44-467a-890b-25f9f62c76c4\/js-dev-bash-windowsubuntu-vs-consolas-mono.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4b4550d7-1f44-467a-890b-25f9f62c76c4\/js-dev-bash-windowsubuntu-vs-consolas-mono.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsubuntu-vs-consolas-mono.png?w=900\" sizes=\"100vw\" alt=\"A side-by-side comparison of Consolas and Unbuntu Mono fonts in the terminal\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4b4550d7-1f44-467a-890b-25f9f62c76c4\/js-dev-bash-windowsubuntu-vs-consolas-mono.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>They look pretty similar; the main difference being in the spacing of Ubuntu Mono which makes the terminal just a bit tighter and cleaner.<\/p>\n<h3>Color Schemes<\/h3>\n<p>The color schemes are all located at the bottom of the settings file. I copied the \u201cCampbell\u201d color scheme as a baseline. I try to match colors with their names, but I\u2019m not afraid to go rogue either. I\u2019ll map \u201c#ffffff\u201d to \u201cblue\u201d \u2014 I don\u2019t even care.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/061b238b-dbdf-455a-b999-d9e9c6de23ec\/js-dev-bash-windowscolor-scheme.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowscolor-scheme.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/061b238b-dbdf-455a-b999-d9e9c6de23ec\/js-dev-bash-windowscolor-scheme.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/061b238b-dbdf-455a-b999-d9e9c6de23ec\/js-dev-bash-windowscolor-scheme.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/061b238b-dbdf-455a-b999-d9e9c6de23ec\/js-dev-bash-windowscolor-scheme.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/061b238b-dbdf-455a-b999-d9e9c6de23ec\/js-dev-bash-windowscolor-scheme.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowscolor-scheme.png?w=900\" sizes=\"100vw\" alt=\"The color scheme settings from the settings.json file\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/061b238b-dbdf-455a-b999-d9e9c6de23ec\/js-dev-bash-windowscolor-scheme.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>If you like this particular scheme which I\u2019ve named \u201cEarth\u201d, I\u2019ve put together <a href=\"https:\/\/gist.github.com\/burkeholland\/314e5fbcd759ff4f4193eacbad191e0a\">this gist<\/a> so you don\u2019t have to manually copy all of this mess out of a screenshot.<\/p>\n<p><strong>Note<\/strong>: <em>The color previews come by virtue of the \u201c<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=naumovs.color-highlight\">Color Highlight<\/a>\u201d extension for VS Code.<\/em><\/p>\n<h3>Change The Default Starting Directory<\/h3>\n<p>By default, the WSL profile drops you into your home directory on the Windows side. Based on the setup that I am recommending in this article, it would be preferable to be dropped into your Linux <code>home<\/code> folder instead. To do that, alter the <code>startingDirectory<\/code> setting in your \u201cUbuntu\u201d profile:<\/p>\n<pre><code>\"startingDirectory\": \"\\\\wsl$\\Ubuntu\\home\\burkeholland\"\n<\/code><\/pre>\n<p>Note the path there. You can use this path (minus the extra escape slashes) to access the WSL from the Windows command line.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4302ca96-75cb-456e-a800-218f2ac5c68f\/js-dev-bash-windowsaccess-wsl-from-command-line.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsaccess-wsl-from-command-line.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4302ca96-75cb-456e-a800-218f2ac5c68f\/js-dev-bash-windowsaccess-wsl-from-command-line.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4302ca96-75cb-456e-a800-218f2ac5c68f\/js-dev-bash-windowsaccess-wsl-from-command-line.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4302ca96-75cb-456e-a800-218f2ac5c68f\/js-dev-bash-windowsaccess-wsl-from-command-line.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4302ca96-75cb-456e-a800-218f2ac5c68f\/js-dev-bash-windowsaccess-wsl-from-command-line.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsaccess-wsl-from-command-line.png?w=900\" sizes=\"100vw\" alt=\"A \u201cdir\u201d command run against the Linux home directory from the Windows Command Line\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4302ca96-75cb-456e-a800-218f2ac5c68f\/js-dev-bash-windowsaccess-wsl-from-command-line.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<h3>Install Zsh\/Oh-My-Zsh<\/h3>\n<p>If you\u2019ve never used <a href=\"http:\/\/zsh.sourceforge.net\/\">Zsh<\/a> and <a href=\"https:\/\/ohmyz.sh\/\">Oh-My-Zsh<\/a> before, you\u2019re in for a real treat. Zsh (or \u201cZ Shell\u201d) is a replacement shell for Linux. It expands on the basic capabilities of Bash, including implied directory switching (no need to type <code>cd<\/code>), better-theming support, better prompts, and much more.<\/p>\n<p>To install Zsh, grab it with the apt package manager, which comes out of the box with your Linux install:<\/p>\n<pre><code>sudo apt install zsh\n<\/code><\/pre>\n<p>Install oh-my-zsh using curl. Oh-my-zsh is a set of configurations for zsh that improve the shell experience even further with plugins, themes and a myriad of keyboard shortcuts.<\/p>\n<div>\n<pre><code>sh -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/robbyrussell\/oh-my-zsh\/master\/tools\/install.sh)\"\n<\/code><\/pre>\n<\/div>\n<p>Then it will ask you if you want to change your default shell to Zsh. You do, so answer in the affirmative and you are now up and running with Zsh and Oh-My-Zsh.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/01831223-cc04-45b2-8e16-fda3a1fea89e\/js-dev-bash-windowschange-default-shell.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowschange-default-shell.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/01831223-cc04-45b2-8e16-fda3a1fea89e\/js-dev-bash-windowschange-default-shell.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/01831223-cc04-45b2-8e16-fda3a1fea89e\/js-dev-bash-windowschange-default-shell.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/01831223-cc04-45b2-8e16-fda3a1fea89e\/js-dev-bash-windowschange-default-shell.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/01831223-cc04-45b2-8e16-fda3a1fea89e\/js-dev-bash-windowschange-default-shell.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowschange-default-shell.png?w=900\" sizes=\"100vw\" alt=\"The terminal asking if you would like to change the default shell\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/01831223-cc04-45b2-8e16-fda3a1fea89e\/js-dev-bash-windowschange-default-shell.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>You\u2019ll notice that the prompt is a lot cleaner now. You can change the look of that prompt by changing the theme in the <code>~\/.zshrc<\/code> file.<\/p>\n<p>Open it with <code>nano<\/code>, which is kind of like VIM, but you can edit things and exit when you need to.<\/p>\n<pre><code>nano ~\/.zshrc\n<\/code><\/pre>\n<p>Change the line that sets the theme. There is a URL above it with an entire list of themes. I think the \u201ccloud\u201d one is nice. And cute.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7b39cd27-0ce2-48dd-aab7-df7f793bfdd0\/js-dev-bash-windowszsh-theme-cloud.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowszsh-theme-cloud.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7b39cd27-0ce2-48dd-aab7-df7f793bfdd0\/js-dev-bash-windowszsh-theme-cloud.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7b39cd27-0ce2-48dd-aab7-df7f793bfdd0\/js-dev-bash-windowszsh-theme-cloud.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7b39cd27-0ce2-48dd-aab7-df7f793bfdd0\/js-dev-bash-windowszsh-theme-cloud.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7b39cd27-0ce2-48dd-aab7-df7f793bfdd0\/js-dev-bash-windowszsh-theme-cloud.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowszsh-theme-cloud.png?w=900\" sizes=\"100vw\" alt=\"The \u201ccloud\u201d theme being set in the zshrc file\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/7b39cd27-0ce2-48dd-aab7-df7f793bfdd0\/js-dev-bash-windowszsh-theme-cloud.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>To get changes to the <code>.zshrc<\/code> picked up, you\u2019ll need to source it:<\/p>\n<pre><code>source ~\/.zshrc\n<\/code><\/pre>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/468a5de3-f65d-4661-8ac0-77b1cf8906c7\/js-dev-bash-windowscloud-theme.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowscloud-theme.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/468a5de3-f65d-4661-8ac0-77b1cf8906c7\/js-dev-bash-windowscloud-theme.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/468a5de3-f65d-4661-8ac0-77b1cf8906c7\/js-dev-bash-windowscloud-theme.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/468a5de3-f65d-4661-8ac0-77b1cf8906c7\/js-dev-bash-windowscloud-theme.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/468a5de3-f65d-4661-8ac0-77b1cf8906c7\/js-dev-bash-windowscloud-theme.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowscloud-theme.png?w=900\" sizes=\"100vw\" alt=\"The \u201ccloud\u201d theme prompt\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/468a5de3-f65d-4661-8ac0-77b1cf8906c7\/js-dev-bash-windowscloud-theme.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p><strong>Note<\/strong>: <em>If you pick a theme like \u201cagnoster\u201d which requires glyphs, you\u2019ll need a powerline infused version of Ubuntu Mono that has\u2026 glyphs. Otherwise, your terminal will just be full of weird characters like you mashed your face on the keyboard. <a href=\"https:\/\/github.com\/ryanoasis\/nerd-fonts\/blob\/master\/patched-fonts\/UbuntuMono\/Regular\/complete\/Ubuntu%20Mono%20Nerd%20Font%20Complete.ttf\">Nerd Fonts<\/a> offers one that seems to work pretty well.<\/em><\/p>\n<p>Now you can do things like changing directories just by entering the directory name. No <code>cd<\/code> required. Wanna go back up a directory? Just do a <code>..<\/code>. You don\u2019t even have to type the whole directory name, just type the first few letters and hit tab. Zsh will give you a list of all of the files\/directories that match your search and you can tab through them.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ee42d6a8-8831-4f62-be28-0e3668a8de50\/js-dev-bash-windowstab-through-results.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowstab-through-results.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ee42d6a8-8831-4f62-be28-0e3668a8de50\/js-dev-bash-windowstab-through-results.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ee42d6a8-8831-4f62-be28-0e3668a8de50\/js-dev-bash-windowstab-through-results.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ee42d6a8-8831-4f62-be28-0e3668a8de50\/js-dev-bash-windowstab-through-results.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ee42d6a8-8831-4f62-be28-0e3668a8de50\/js-dev-bash-windowstab-through-results.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowstab-through-results.png?w=900\" sizes=\"100vw\" alt=\"The terminal with one of many paths highlighted\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ee42d6a8-8831-4f62-be28-0e3668a8de50\/js-dev-bash-windowstab-through-results.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<h3>Installing Node<\/h3>\n<p>As a web developer, you\u2019re probably going to want to install Node. I suppose you don\u2019t <em>have<\/em> to install Node to do web development, but it sure feels like it in 2019!<\/p>\n<p>Your first instinct might be to install node with <code>apt<\/code>, which you can do, but you would regret it for two reasons:<\/p>\n<ol>\n<li>The version of Node on apt is dolorously out of date;<\/li>\n<li>You should install Node with a version manager so that you don\u2019t run into permissions issues.<\/li>\n<\/ol>\n<p>The best way to solve both of these issues is to install nvm (Node Version Manager). Since you\u2019ve installed <code>zsh<\/code>, you can just add the nvm plugin in your zshrc file and zsh takes care of the rest.<\/p>\n<p>First, install the plugin by cloning in the <code>zsh-nvm<\/code> repo. (Don\u2019t worry, Git comes standard on your Ubuntu install.)<\/p>\n<div>\n<pre><code>git clone https:\/\/github.com\/lukechilds\/zsh-nvm ~\/.oh-my-zsh\/custom\/plugins\/zsh-nvm\n<\/code><\/pre>\n<\/div>\n<p>Then add it as a plugin in the <code>~\/.zshrc<\/code> file.<\/p>\n<pre><code>`nano ~\/.zshrc`\n\nplugins (zsh-nvm git)\n<\/code><\/pre>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/bfdd51d9-4a95-4d12-8b7f-9e4653466e76\/js-dev-bash-windowszsh-nvm-plugin.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowszsh-nvm-plugin.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/bfdd51d9-4a95-4d12-8b7f-9e4653466e76\/js-dev-bash-windowszsh-nvm-plugin.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/bfdd51d9-4a95-4d12-8b7f-9e4653466e76\/js-dev-bash-windowszsh-nvm-plugin.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/bfdd51d9-4a95-4d12-8b7f-9e4653466e76\/js-dev-bash-windowszsh-nvm-plugin.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/bfdd51d9-4a95-4d12-8b7f-9e4653466e76\/js-dev-bash-windowszsh-nvm-plugin.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowszsh-nvm-plugin.png?w=900\" sizes=\"100vw\" alt=\"The zshrc file with the zsh-vnm-plugin added\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/bfdd51d9-4a95-4d12-8b7f-9e4653466e76\/js-dev-bash-windowszsh-nvm-plugin.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Remember to source the zshrc file again with <code>source ~\/.zshrc<\/code> and you\u2019ll see nvm being installed.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f452abc6-e973-4aa5-a071-61b9954a629c\/js-dev-bash-windowsnvm-installed.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsnvm-installed.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f452abc6-e973-4aa5-a071-61b9954a629c\/js-dev-bash-windowsnvm-installed.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f452abc6-e973-4aa5-a071-61b9954a629c\/js-dev-bash-windowsnvm-installed.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f452abc6-e973-4aa5-a071-61b9954a629c\/js-dev-bash-windowsnvm-installed.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f452abc6-e973-4aa5-a071-61b9954a629c\/js-dev-bash-windowsnvm-installed.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsnvm-installed.png?w=900\" sizes=\"100vw\" alt=\"The terminal showing the install progress of nvm\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f452abc6-e973-4aa5-a071-61b9954a629c\/js-dev-bash-windowsnvm-installed.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Now you can install node with nvm. It makes it easy to install multiple side-by-side versions of node, and switch between them effortlessly. Also, no permissions errors when you do global npm installs!<\/p>\n<pre><code>nvm install --lts\n<\/code><\/pre>\n<p>I recommend this over the standard nvm install because the plugin gives you the ability to easily upgrade nvm. This is kind of a pain with the standard \u201ccurl\u201d install. It\u2019s one command with the plugin.<\/p>\n<pre><code>nvm upgrade\n<\/code><\/pre>\n<h3>Utilize Auto Suggestions<\/h3>\n<p>One of my very favorite plugins for zsh is zsh-autosuggestions. It remembers things you have typed in the terminal before, and then recognizes them when you start to type them again as well as \u201cauto-suggests\u201d the line you might need. This plugin has come in handy more times than I can remember \u2014 specifically when it comes to long CLI commands that I have used in the past, but can\u2019t ever remember.<\/p>\n<p>Clone the repo into the zsh extensions folder:<\/p>\n<div>\n<pre><code>git clone https:\/\/github.com\/zsh-users\/zsh-autosuggestions ~\/.oh-my-zsh\/custom\/plugins\/zsh-autosuggestions\n<\/code><\/pre>\n<\/div>\n<p>Then add it to your zsh plugins and source the zshrc file:<\/p>\n<pre><code>nano ~\/.zshrc\n\n# In the .zshrc file\nplugins(zsh-nvm zsh-autosuggestions git)\n\nsource ~\/.zshrc\n<\/code><\/pre>\n<p>The plugin reads your zsh history, so start typing some command you\u2019ve typed before and watch the magic. Try typing the first part of that long clone command above.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/93f289f9-6db1-49d9-90d7-7816fb1bdd2a\/js-dev-bash-windowsauto-suggestions.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsauto-suggestions.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/93f289f9-6db1-49d9-90d7-7816fb1bdd2a\/js-dev-bash-windowsauto-suggestions.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/93f289f9-6db1-49d9-90d7-7816fb1bdd2a\/js-dev-bash-windowsauto-suggestions.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/93f289f9-6db1-49d9-90d7-7816fb1bdd2a\/js-dev-bash-windowsauto-suggestions.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/93f289f9-6db1-49d9-90d7-7816fb1bdd2a\/js-dev-bash-windowsauto-suggestions.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsauto-suggestions.png?w=900\" sizes=\"100vw\" alt=\"The terminal showing zsh autosuggestions auto completing a git clone command\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/93f289f9-6db1-49d9-90d7-7816fb1bdd2a\/js-dev-bash-windowsauto-suggestions.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>If you hit <kbd>?<\/kbd>, it will autocomplete the command. If you keep hitting <kbd>?<\/kbd>, it will cycle through any of the commands in your history that could be a match.<\/p>\n<h3>Important Keyboard Shortcuts<\/h3>\n<p>There are a few terminal shortcuts that I use all the time. I find this with all of my tools \u2014 including VS Code. Trying to learn all the shortcuts is a waste of time because you won\u2019t use them enough to remember them.<\/p>\n<p>Here are a few that I use regularly:<\/p>\n<table data-tablesaw-mode=\"swipe\" data-tablesaw-minimap>\n<thead>\n<tr>\n<th data-tablesaw-priority=\"persist\">Terminal Shortcut<\/th>\n<th>What does it do?<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><kbd>Ctrl<\/kbd> + <kbd>L<\/kbd><\/td>\n<td>This clears the terminal and puts you back to the top. It\u2019s the equivilant of typing \u201cclear\u201d.<\/td>\n<\/tr>\n<tr>\n<td><kbd>Ctrl<\/kbd> + <kbd>U<\/kbd><\/td>\n<td>This clears out the current line only. <\/td>\n<\/tr>\n<tr>\n<td><kbd>Ctrl<\/kbd> + <kbd>A<\/kbd><\/td>\n<td>Sends the cursor to the beginning of the command line.<\/td>\n<\/tr>\n<tr>\n<td><kbd>Ctrl<\/kbd> + <kbd>E<\/kbd><\/td>\n<td>Move to the end of the line.<\/td>\n<\/tr>\n<tr>\n<td><kbd>Ctrl<\/kbd> + <kbd>K<\/kbd><\/td>\n<td>Delete all the characters after the cursor.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>That\u2019s it! Everything else I\u2019ve probably learned and then forgotten because it never gets any use.<\/p>\n<h3>Configuring Git(Hub\/Lab\/Whatevs)<\/h3>\n<p>Git comes on Ubuntu, so there is no install required. You can <a href=\"https:\/\/help.github.com\/en\/articles\/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent\">follow the instructions<\/a> at your source control hoster of choice to get your ssh keys created and working.<\/p>\n<p>Note that in the Github instructions, it tells you to use the \u201ccopy\u201d utility to copy your ssh key. Ubuntu has the \u201cxcopy\u201d command, but it\u2019s not going to work here because there is no interop between the Linux and Windows in terms of a clipboard.<\/p>\n<p>Instead, you can just use the Windows Clipboard executable and call it directly from the terminal. You need to get the text first with <code>cat<\/code>, and then pipe that to the Windows clipboard.<\/p>\n<pre><code>cat ~\/.ssh\/id_rsa.pub | clip.exe \n<\/code><\/pre>\n<p>The <a href=\"https:\/\/help.github.com\/en\/articles\/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent\">Github docs<\/a> tell you to make sure that the <code>ssh-agent<\/code> is running. It\u2019s not. You\u2019ll see this when you try and add your key to the agent:<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/0a6311d5-afb1-4f27-9414-37ea5f685a36\/js-dev-bash-windowsssh-agent-not-running.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsssh-agent-not-running.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/0a6311d5-afb1-4f27-9414-37ea5f685a36\/js-dev-bash-windowsssh-agent-not-running.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/0a6311d5-afb1-4f27-9414-37ea5f685a36\/js-dev-bash-windowsssh-agent-not-running.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/0a6311d5-afb1-4f27-9414-37ea5f685a36\/js-dev-bash-windowsssh-agent-not-running.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/0a6311d5-afb1-4f27-9414-37ea5f685a36\/js-dev-bash-windowsssh-agent-not-running.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsssh-agent-not-running.png?w=900\" sizes=\"100vw\" alt=\"The terminal showing that the ssh agent is not running\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/0a6311d5-afb1-4f27-9414-37ea5f685a36\/js-dev-bash-windowsssh-agent-not-running.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>You can start the agent, but the next time you reboot Windows or the WSL is stopped, you\u2019ll have to start it again. This is because there is no initialization system in the WSL. There is no <code>systemd<\/code> or another process that starts all of your services when the WSL starts. WSL is still in preview, and the team is working on a solution for this.<\/p>\n<p>In the meantime, believe it or not, there\u2019s a zsh plugin for this, too. It\u2019s called <code>ssh-agent<\/code>, and it comes installed with oh-my-zsh, so all you need to do is reference it in the <code>.zshrc<\/code> file.<\/p>\n<pre><code>zsh-nvm zsh-autosuggestions ssh-agent git\n<\/code><\/pre>\n<p>This will start the ssh-agent automatically if it\u2019s not running the first time that you fire up the WSL. The downside is that it\u2019s going to ask you for your passphrase every time WSL is started fresh. That means essentially anytime you reboot your computer.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/007d049c-5c52-40bc-aec3-e2fb6ebf1206\/js-dev-bash-windowsssh-plugin-password.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsssh-plugin-password.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/007d049c-5c52-40bc-aec3-e2fb6ebf1206\/js-dev-bash-windowsssh-plugin-password.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/007d049c-5c52-40bc-aec3-e2fb6ebf1206\/js-dev-bash-windowsssh-plugin-password.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/007d049c-5c52-40bc-aec3-e2fb6ebf1206\/js-dev-bash-windowsssh-plugin-password.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/007d049c-5c52-40bc-aec3-e2fb6ebf1206\/js-dev-bash-windowsssh-plugin-password.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsssh-plugin-password.png?w=900\" sizes=\"100vw\" alt=\"The terminal prompting for the passphrase for the rsa key\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/007d049c-5c52-40bc-aec3-e2fb6ebf1206\/js-dev-bash-windowsssh-plugin-password.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<h3>VS Code And The WSL<\/h3>\n<p>The WSL has no GUI, so you can\u2019t install a visual tool like VS Code. That needs to be installed on the Windows side. This presents a problem because you have a program running on the Windows side accessing files on the Linux side, and this can result in all manor of quirks and \u201cpermission denied\u201d issues. As a general rule of thumb, <strong>Microsoft recommends that you not alter files in the WSL side with Windows programs.<\/strong><\/p>\n<p>To resolve this, there is an extension for VS Code called \u201c<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode-remote.remote-wsl&#038;WT.mc_id=smashingmag-article-buhollan\">Remote WSL<\/a>\u201d. This extension is made by Microsoft, and allows you to develop within the WSL, but from inside of VS Code.<\/p>\n<p>Once the extension is installed, you can attach VS Code directly to the Ubuntu side by opening the Command Palette (<lbd>Ctrl + Shift + P) and select \u201cRemote-WSL: New Window\u201d.<\/lbd><\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f2e7c695-43f2-44d2-9708-52e625ed11b2\/js-dev-bash-windowswsl-new-window.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl-new-window.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f2e7c695-43f2-44d2-9708-52e625ed11b2\/js-dev-bash-windowswsl-new-window.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f2e7c695-43f2-44d2-9708-52e625ed11b2\/js-dev-bash-windowswsl-new-window.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f2e7c695-43f2-44d2-9708-52e625ed11b2\/js-dev-bash-windowswsl-new-window.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f2e7c695-43f2-44d2-9708-52e625ed11b2\/js-dev-bash-windowswsl-new-window.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl-new-window.png?w=900\" sizes=\"100vw\" alt=\"VS Code with the \u201cRemote WSL: New Window\u201d command highlighted in the Command Palette\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/f2e7c695-43f2-44d2-9708-52e625ed11b2\/js-dev-bash-windowswsl-new-window.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>This opens a new instance of VS Code that allows you to work as if you were fully on the Linux side of things. Doing \u201cFile\/Open\u201d browses the Ubuntu file system instead of the Windows one.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/d5148d88-de89-4721-b8ef-ed74ea0e9b33\/js-dev-bash-windowsvs-code-open-file.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsvs-code-open-file.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/d5148d88-de89-4721-b8ef-ed74ea0e9b33\/js-dev-bash-windowsvs-code-open-file.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/d5148d88-de89-4721-b8ef-ed74ea0e9b33\/js-dev-bash-windowsvs-code-open-file.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/d5148d88-de89-4721-b8ef-ed74ea0e9b33\/js-dev-bash-windowsvs-code-open-file.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/d5148d88-de89-4721-b8ef-ed74ea0e9b33\/js-dev-bash-windowsvs-code-open-file.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsvs-code-open-file.png?w=900\" sizes=\"100vw\" alt=\"The VS Code \u201cOpen File\u201d view\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/d5148d88-de89-4721-b8ef-ed74ea0e9b33\/js-dev-bash-windowsvs-code-open-file.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>The integrated terminal in VS Code opens your beautifully customized zsh setup. Everything \u201cjust works\u201d like it should when you have the Remote WSL extension installed.<\/p>\n<p>If you open code from your terminal with <code>code .<\/code>, VS Code will automatically detect that it was opened from the WSL, and will auto-attach the Remote WSL extension.<\/p>\n<h3>VS Code Extensions With Remote WSL<\/h3>\n<p>The Remote WSL extension for VS Code works by setting up a little server on the Linux side, and then connecting to that from VS Code on the Windows side. That being the case, the extensions that you have installed in VS Code won\u2019t automatically show up when you open a project from the WSL.<\/p>\n<p>For instance, I have a Vue project open in VS Code. Even though I have all of the right Vue extensions installed for syntax highlighting, formatting and the like, VS Code acts like it\u2019s never seen a <code>.vue<\/code> file before.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/467b159d-e214-40f7-b00c-79d6d4c15d38\/js-dev-bash-windowswhat-vue.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswhat-vue.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/467b159d-e214-40f7-b00c-79d6d4c15d38\/js-dev-bash-windowswhat-vue.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/467b159d-e214-40f7-b00c-79d6d4c15d38\/js-dev-bash-windowswhat-vue.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/467b159d-e214-40f7-b00c-79d6d4c15d38\/js-dev-bash-windowswhat-vue.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/467b159d-e214-40f7-b00c-79d6d4c15d38\/js-dev-bash-windowswhat-vue.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswhat-vue.png?w=900\" sizes=\"100vw\" alt=\"A .vue file open in VS Code with no syntax highlighting\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/467b159d-e214-40f7-b00c-79d6d4c15d38\/js-dev-bash-windowswhat-vue.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>All of the extensions that you have installed can be enabled in the WSL. Just find the extension that you want in the WSL, and click the \u201cInstall in WSL\u201d button.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1ec9e2c0-7210-4e98-b3b6-5194aae393d6\/js-dev-bash-windowsinstall-in-wsl.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsinstall-in-wsl.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1ec9e2c0-7210-4e98-b3b6-5194aae393d6\/js-dev-bash-windowsinstall-in-wsl.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1ec9e2c0-7210-4e98-b3b6-5194aae393d6\/js-dev-bash-windowsinstall-in-wsl.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1ec9e2c0-7210-4e98-b3b6-5194aae393d6\/js-dev-bash-windowsinstall-in-wsl.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1ec9e2c0-7210-4e98-b3b6-5194aae393d6\/js-dev-bash-windowsinstall-in-wsl.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsinstall-in-wsl.png?w=900\" sizes=\"100vw\" alt=\"The Vetur VS Code extension landing page in VS Code\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/1ec9e2c0-7210-4e98-b3b6-5194aae393d6\/js-dev-bash-windowsinstall-in-wsl.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>All of the extensions installed in the WSL will show up in their own section in the Extensions Explorer view. If you have a lot of extensions, it could be slightly annoying to install each one individually. If you want to just install every extension you\u2019ve got in the WSL, click the little cloud-download icon at the top of the \u2018Local &#8211; Installed\u2019 section.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ed364b3e-3df3-4a3a-bc45-dc5960169b9c\/js-dev-bash-windowsinstalled-extensions.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsinstalled-extensions.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ed364b3e-3df3-4a3a-bc45-dc5960169b9c\/js-dev-bash-windowsinstalled-extensions.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ed364b3e-3df3-4a3a-bc45-dc5960169b9c\/js-dev-bash-windowsinstalled-extensions.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ed364b3e-3df3-4a3a-bc45-dc5960169b9c\/js-dev-bash-windowsinstalled-extensions.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ed364b3e-3df3-4a3a-bc45-dc5960169b9c\/js-dev-bash-windowsinstalled-extensions.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsinstalled-extensions.png?w=900\" sizes=\"100vw\" alt=\"The Extensions view in VS Code with the install all extensions in WSL icon highlighted\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ed364b3e-3df3-4a3a-bc45-dc5960169b9c\/js-dev-bash-windowsinstalled-extensions.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<h3>How To Setup Your Dev Directories<\/h3>\n<p>This is already an opinionated article, so here\u2019s one you didn\u2019t ask for on how I think you should structure your projects on your file system.<\/p>\n<p>I keep all my projects on the Linux side. I don\u2019t put my projects in \u201cMy Documents\u201d and then try and work with them from the WSL. My brain can\u2019t handle that.<\/p>\n<p>I create a folder called <code>\/dev<\/code> that I put in the root of my <code>\/home<\/code> folder in Linux. Inside that folder, I create another one that is the same name as my Github repo: <code>\/burkeholland<\/code>. That folder is where all of <em>my<\/em> projects go \u2014 even the ones that aren\u2019t pushed to Github.<\/p>\n<p>If I clone a repo from a different Github account (e.g. \u201cmicrosoft\u201d), I\u2019ll create a new folder in \u201cdev\u201d called <code>\/microsoft<\/code>. I then clone the repo into a folder inside of that.<\/p>\n<p>Basically, I\u2019m mimicking the same structure as source control on my local machine. I find it far easier to reason about where projects are and what repos they are attached to just by virtue of their location. It\u2019s simple, but it is highly effective at helping me keep everything organized. And I need all the help I can get.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/a4cef6fa-6723-4ef2-9f37-516f9a195b96\/js-dev-bash-windowsmy-folder-structure.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsmy-folder-structure.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/a4cef6fa-6723-4ef2-9f37-516f9a195b96\/js-dev-bash-windowsmy-folder-structure.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/a4cef6fa-6723-4ef2-9f37-516f9a195b96\/js-dev-bash-windowsmy-folder-structure.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/a4cef6fa-6723-4ef2-9f37-516f9a195b96\/js-dev-bash-windowsmy-folder-structure.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/a4cef6fa-6723-4ef2-9f37-516f9a195b96\/js-dev-bash-windowsmy-folder-structure.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsmy-folder-structure.png?w=900\" sizes=\"100vw\" alt=\"The authors opinionated folder structure listed in the terminal\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/a4cef6fa-6723-4ef2-9f37-516f9a195b96\/js-dev-bash-windowsmy-folder-structure.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<h3>Browsing Files From Windows Explorer<\/h3>\n<p>There are times when you need to get at a file in Linux from the Windows side. The beautiful thing about the WSL is that you can still do that.<\/p>\n<p>One way is to access the WSL just like a mapped drive. Access it with a <code>\\wsl$<\/code> directly from the explorer bar:<\/p>\n<pre><code>\\wsl$\n<\/code><\/pre>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/06104387-bdaa-40db-893b-5ddf52f19b7d\/js-dev-bash-windowsaccess-from-windows.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsaccess-from-windows.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/06104387-bdaa-40db-893b-5ddf52f19b7d\/js-dev-bash-windowsaccess-from-windows.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/06104387-bdaa-40db-893b-5ddf52f19b7d\/js-dev-bash-windowsaccess-from-windows.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/06104387-bdaa-40db-893b-5ddf52f19b7d\/js-dev-bash-windowsaccess-from-windows.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/06104387-bdaa-40db-893b-5ddf52f19b7d\/js-dev-bash-windowsaccess-from-windows.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsaccess-from-windows.png?w=900\" sizes=\"100vw\" alt=\"The Windows Explorer the Ubuntu installation as a mounted directory\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/06104387-bdaa-40db-893b-5ddf52f19b7d\/js-dev-bash-windowsaccess-from-windows.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>You might do this for a number of different reasons. For instance, just today I needed a Chrome extension that isn\u2019t in the web store. So I cloned the repo in WSL, then navigated to it as an \u201cUnpacked Extension\u201d and loaded it into Edge.<\/p>\n<p>One thing that I do with some frequency in Linux is to open the directory that contains a file directly from the terminal. You can do this in the WSL, too, by directly calling <code>explorer.exe<\/code>. For instance, this command opens the current directory in Windows Explorer.<\/p>\n<pre><code>$ explorer.exe .\n<\/code><\/pre>\n<figure><a href=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsexplorer-exe.gif\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsexplorer-exe.gif?w=800\"  alt=\"A GIF demonstrating the opening of Windows explorer on the current directory from the terminal\"><\/a><\/figure>\n<p>This command is a bit cumbersome though. On Linux, it\u2019s just <code>open .<\/code>. We can make that same magic by creating an alias in the <code>~\/.zshrc<\/code>.<\/p>\n<pre><code>alias open=\"explorer.exe\"\n<\/code><\/pre>\n<h3>Docker<\/h3>\n<p>When I said all tooling should be on the Linux side, I meant that. That includes Docker.<\/p>\n<p>This is where the rubber really starts to meet the road. What we need here is Docker, running inside of Linux running inside of Windows. It\u2019s a bit of a Russian Nesting Doll when you write it down in a blog post. In reality, it\u2019s pretty straightforward.<\/p>\n<p>You\u2019ll need the correct version of Docker for Windows. As of the time of this writing, that\u2019s the <a href=\"https:\/\/docs.docker.com\/docker-for-windows\/wsl-tech-preview\/\">WSL 2 Tech Preview<\/a>.<\/p>\n<p>When you run the installer, it will ask you if you want to use Windows containers instead of Linux containers. You definitely do. Otherwise, you won\u2019t get the option to run Docker in the WSL.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ff3a4343-2212-4335-afce-6c009664f336\/js-dev-bash-windowsdocker-install.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsdocker-install.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ff3a4343-2212-4335-afce-6c009664f336\/js-dev-bash-windowsdocker-install.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ff3a4343-2212-4335-afce-6c009664f336\/js-dev-bash-windowsdocker-install.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ff3a4343-2212-4335-afce-6c009664f336\/js-dev-bash-windowsdocker-install.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ff3a4343-2212-4335-afce-6c009664f336\/js-dev-bash-windowsdocker-install.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowsdocker-install.png?w=900\" sizes=\"100vw\" alt=\"The Docker Installation screen with \u201cUse Windows Containers\u201d option selected\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/ff3a4343-2212-4335-afce-6c009664f336\/js-dev-bash-windowsdocker-install.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>You can now enable Docker in the WSL by clicking on the item in the system tray and selecting \u201cWSL 2 Tech Preview\u201d:<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/626e7164-0f1a-47b3-bbc1-110ee514dfe0\/js-dev-bash-windowswsl2-tech-preview-option.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl2-tech-preview-option.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/626e7164-0f1a-47b3-bbc1-110ee514dfe0\/js-dev-bash-windowswsl2-tech-preview-option.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/626e7164-0f1a-47b3-bbc1-110ee514dfe0\/js-dev-bash-windowswsl2-tech-preview-option.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/626e7164-0f1a-47b3-bbc1-110ee514dfe0\/js-dev-bash-windowswsl2-tech-preview-option.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/626e7164-0f1a-47b3-bbc1-110ee514dfe0\/js-dev-bash-windowswsl2-tech-preview-option.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswsl2-tech-preview-option.png?w=900\" sizes=\"100vw\" alt=\"The WSL2 Tech Preview Option in the Docker Daemon context menu\"><\/a><figcaption>\n      (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/626e7164-0f1a-47b3-bbc1-110ee514dfe0\/js-dev-bash-windowswsl2-tech-preview-option.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>After you start the service, you can use Docker within the WSL just as you would expect to be able to. Running Docker in the WSL provides a pretty big performance boost, as well as a boost in cold start time on containers.<\/p>\n<p>Might I also recommend that you install the Docker extension for VS Code? It puts a visual interface on your Docker setup and generally just makes it easier to work with Docker because you don\u2019t have to remember all those command-line flags and options.<\/p>\n<h3>Get More Bash On Windows<\/h3>\n<p>At this point, you should get the idea about how to put Bash on Windows, and how it works once you get it there. You can customize your terminal endlessly and there are all sorts of rad programs that you can add in to do things like automatically set PATH variables, create aliases, get an ASCII cow in your terminal, and much more.<\/p>\n<p>Running Bash on Windows opened up an entirely new universe for me. I\u2019m able to combine Windows which I love for the productivity side, and Linux which I depend on as a developer. Best of all, I can build apps for both platforms now with one machine.<\/p>\n<h4>Further Reading<\/h4>\n<p>You can read more about Bash on Windows over here:<\/p>\n<ul>\n<li>\u201c<a href=\"https:\/\/docs.microsoft.com\/windows\/wsl\/install-win10?WT.mc_id=smashingmag-article-buhollan\">Windows Subsystem For Linux Installation Guide For Windows 10<\/a>,\u201d Microsoft Docs<\/li>\n<li>\u201c<a href=\"https:\/\/www.howtogeek.com\/249966\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/\">How To Install And Use The Bash Shell On Windows 10<\/a>,\u201d Chris Hoffman, How-To Geek<\/li>\n<li>\u201c<a href=\"https:\/\/geedew.com\/Sharing-SSH-With-WSL\/\">Sharing SSH With WSL<\/a>,\u201d Drew Wilson<\/li>\n<li>\u201c<a href=\"https:\/\/www.brianketelsen.com\/getting-crazy-with-windows-subsystem-for-linux\/\">Getting Crazy With The Window Subsystem For Linux<\/a>,\u201d Brian Ketelsen<\/li>\n<li>\u201c<a href=\"https:\/\/www.howtogeek.com\/265900\/everything-you-can-do-with-windows-10s-new-bash-shell\/\">Everything You Can Do With Windows 10\u2019s New Bash Shell<\/a>,\u201d Chris Hoffman, How-To Geek<\/li>\n<\/ul>\n<p><em>Special thanks to Brian Ketelsen, Matt Hernandez, Rich Turner, and Craig Loewen for their patience, help, and guidance with this article.<\/em><\/p>\n<div>\n  <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/logo-red-7.png?w=900\" alt=\"Smashing Editorial\"><span>(rb, dm, il)<\/span>\n<\/div>\n<\/article>\n<p class=\"wpematico_credit\"><small>Powered by <a href=\"http:\/\/www.wpematico.com\" target=\"_blank\">WPeMatico<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Moving Your JavaScript Development To Bash On Windows Moving Your JavaScript Development To Bash On Windows Burke Holland 2019-09-11T12:30:59+02:002019-09-12T11:07:52+00:00 I\u2019m one of those people who can\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\u2019m on a Mac&#8230;.<a class=\"moretag\" href=\"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/\"> Read the full article&#8230;<\/a><\/p>\n","protected":false},"author":4,"featured_media":70422,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[371],"tags":[],"class_list":["post-70421","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-user-experience"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Moving Your JavaScript Development To Bash On WindowsMoving Your JavaScript Development To Bash On Windows Burke Holland 2019-09-11T12:30:59+02:002019-09-12T11:07:52+00:00I\u2019m one of those people who can\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\u2019m on a Mac. It wasn\u2019t\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Guest Contribution\"\/>\n\t<meta name=\"keywords\" content=\"user experience\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/\" \/>\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=\"Design for Immersive Technologies | User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Moving Your JavaScript Development To Bash On Windows | Design for Immersive Technologies\" \/>\n\t\t<meta property=\"og:description\" content=\"Moving Your JavaScript Development To Bash On WindowsMoving Your JavaScript Development To Bash On Windows Burke Holland 2019-09-11T12:30:59+02:002019-09-12T11:07:52+00:00I\u2019m one of those people who can\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\u2019m on a Mac. It wasn\u2019t\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-09-12T11:16:04+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-09-12T11:16:04+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Moving Your JavaScript Development To Bash On Windows | Design for Immersive Technologies\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Moving Your JavaScript Development To Bash On WindowsMoving Your JavaScript Development To Bash On Windows Burke Holland 2019-09-11T12:30:59+02:002019-09-12T11:07:52+00:00I\u2019m one of those people who can\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\u2019m on a Mac. It wasn\u2019t\" \/>\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.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#article\",\"name\":\"Moving Your JavaScript Development To Bash On Windows | Design for Immersive Technologies\",\"headline\":\"Moving Your JavaScript Development To Bash On Windows\",\"author\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.taterboy.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/js-dev-bash-windowswindows-insiders-start.png?fit=400%2C348&ssl=1\",\"width\":400,\"height\":348},\"datePublished\":\"2019-09-12T04:16:04-07:00\",\"dateModified\":\"2019-09-12T04:16:04-07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#webpage\"},\"articleSection\":\"User Experience\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.taterboy.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/#listItem\",\"name\":\"User Experience\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/#listItem\",\"position\":2,\"name\":\"User Experience\",\"item\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#listItem\",\"name\":\"Moving Your JavaScript Development To Bash On Windows\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#listItem\",\"position\":3,\"name\":\"Moving Your JavaScript Development To Bash On Windows\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/#listItem\",\"name\":\"User Experience\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#organization\",\"name\":\"Design for Immersive Technologies\",\"description\":\"User Experience for Games, Virtual Reality (VR) and Augmented\\\/Mixed Reality (AR\\\/MR)\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/\",\"name\":\"Guest Contribution\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d2aad73eb0f48c67b141e9fc978a0e498969791ed623346e361d02d19775b0bb?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Guest Contribution\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#webpage\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/\",\"name\":\"Moving Your JavaScript Development To Bash On Windows | Design for Immersive Technologies\",\"description\":\"Moving Your JavaScript Development To Bash On WindowsMoving Your JavaScript Development To Bash On Windows Burke Holland 2019-09-11T12:30:59+02:002019-09-12T11:07:52+00:00I\\u2019m one of those people who can\\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\\u2019m on a Mac. It wasn\\u2019t\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.taterboy.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/js-dev-bash-windowswindows-insiders-start.png?fit=400%2C348&ssl=1\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#mainImage\",\"width\":400,\"height\":348},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/09\\\/moving-your-javascript-development-to-bash-on-windows\\\/#mainImage\"},\"datePublished\":\"2019-09-12T04:16:04-07:00\",\"dateModified\":\"2019-09-12T04:16:04-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/\",\"name\":\"Design for Immersive Technologies\",\"description\":\"User Experience for Games, Virtual Reality (VR) and Augmented\\\/Mixed Reality (AR\\\/MR)\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Moving Your JavaScript Development To Bash On Windows | Design for Immersive Technologies","description":"Moving Your JavaScript Development To Bash On WindowsMoving Your JavaScript Development To Bash On Windows Burke Holland 2019-09-11T12:30:59+02:002019-09-12T11:07:52+00:00I\u2019m one of those people who can\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\u2019m on a Mac. It wasn\u2019t","canonical_url":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/","robots":"max-image-preview:large","keywords":"user experience","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#article","name":"Moving Your JavaScript Development To Bash On Windows | Design for Immersive Technologies","headline":"Moving Your JavaScript Development To Bash On Windows","author":{"@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author"},"publisher":{"@id":"https:\/\/www.taterboy.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswindows-insiders-start.png?fit=400%2C348&ssl=1","width":400,"height":348},"datePublished":"2019-09-12T04:16:04-07:00","dateModified":"2019-09-12T04:16:04-07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#webpage"},"isPartOf":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#webpage"},"articleSection":"User Experience"},{"@type":"BreadcrumbList","@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.taterboy.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/#listItem","name":"User Experience"}},{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/#listItem","position":2,"name":"User Experience","item":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#listItem","name":"Moving Your JavaScript Development To Bash On Windows"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#listItem","position":3,"name":"Moving Your JavaScript Development To Bash On Windows","previousItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/#listItem","name":"User Experience"}}]},{"@type":"Organization","@id":"https:\/\/www.taterboy.com\/blog\/#organization","name":"Design for Immersive Technologies","description":"User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)","url":"https:\/\/www.taterboy.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author","url":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/","name":"Guest Contribution","image":{"@type":"ImageObject","@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d2aad73eb0f48c67b141e9fc978a0e498969791ed623346e361d02d19775b0bb?s=96&d=mm&r=g","width":96,"height":96,"caption":"Guest Contribution"}},{"@type":"WebPage","@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#webpage","url":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/","name":"Moving Your JavaScript Development To Bash On Windows | Design for Immersive Technologies","description":"Moving Your JavaScript Development To Bash On WindowsMoving Your JavaScript Development To Bash On Windows Burke Holland 2019-09-11T12:30:59+02:002019-09-12T11:07:52+00:00I\u2019m one of those people who can\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\u2019m on a Mac. It wasn\u2019t","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.taterboy.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#breadcrumblist"},"author":{"@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author"},"creator":{"@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswindows-insiders-start.png?fit=400%2C348&ssl=1","@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#mainImage","width":400,"height":348},"primaryImageOfPage":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/#mainImage"},"datePublished":"2019-09-12T04:16:04-07:00","dateModified":"2019-09-12T04:16:04-07:00"},{"@type":"WebSite","@id":"https:\/\/www.taterboy.com\/blog\/#website","url":"https:\/\/www.taterboy.com\/blog\/","name":"Design for Immersive Technologies","description":"User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.taterboy.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Design for Immersive Technologies | User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)","og:type":"article","og:title":"Moving Your JavaScript Development To Bash On Windows | Design for Immersive Technologies","og:description":"Moving Your JavaScript Development To Bash On WindowsMoving Your JavaScript Development To Bash On Windows Burke Holland 2019-09-11T12:30:59+02:002019-09-12T11:07:52+00:00I\u2019m one of those people who can\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\u2019m on a Mac. It wasn\u2019t","og:url":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/","article:published_time":"2019-09-12T11:16:04+00:00","article:modified_time":"2019-09-12T11:16:04+00:00","twitter:card":"summary","twitter:title":"Moving Your JavaScript Development To Bash On Windows | Design for Immersive Technologies","twitter:description":"Moving Your JavaScript Development To Bash On WindowsMoving Your JavaScript Development To Bash On Windows Burke Holland 2019-09-11T12:30:59+02:002019-09-12T11:07:52+00:00I\u2019m one of those people who can\u2019t live without their Bash terminal. This sole fact has made it difficult for me to do frontend work on Windows. I work at Microsoft and I\u2019m on a Mac. It wasn\u2019t"},"aioseo_meta_data":{"post_id":"70421","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"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,"location":null,"local_seo":null,"created":"2021-02-07 17:50:32","updated":"2026-09-02 01:28:25","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"limit_modified_date":false,"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.taterboy.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.taterboy.com\/blog\/category\/user-experience\/\" title=\"User Experience\">User Experience<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMoving Your JavaScript Development To Bash On Windows\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.taterboy.com\/blog"},{"label":"User Experience","link":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/"},{"label":"Moving Your JavaScript Development To Bash On Windows","link":"https:\/\/www.taterboy.com\/blog\/2019\/09\/moving-your-javascript-development-to-bash-on-windows\/"}],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8wzr5-ijP","jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/09\/js-dev-bash-windowswindows-insiders-start.png?fit=400%2C348&ssl=1","_links":{"self":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/posts\/70421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/comments?post=70421"}],"version-history":[{"count":0,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/posts\/70421\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/media\/70422"}],"wp:attachment":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/media?parent=70421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/categories?post=70421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/tags?post=70421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}