So that you simply put in and arrange Home windows Subsystem For Linux (WSL) in your Home windows machine, and now you’re questioning what this blinking terminal can do. Right here’s a fast information to get you began.

Get the Proper Home windows Subsystem For Linux

Begin by checking which kind of Linux you put in in your Home windows. We’ll be working with instructions which might be particular to the Debian taste of Linux. For those who’ve obtained Debian or a Debian-derived distro like Mint or Ubuntu, you’ll be capable of comply with this information completely. For those who’re working with Arch, you’ll need to translate sure instructions to their Arch equivalents first.

Open the Debian terminal in your Home windows machine and kind or paste on this command:

cat /and many others/os-release

It should print particulars about your Linux set up. For those who see “Debian” or “Ubuntu” within the first traces, you’re good to go. If it exhibits Arch or another variations of Linux, the best option to comply with this information is to put in Debian as an alternative. Open the Microsoft Retailer, seek for Debian, click on “Get,” and await it to put in.

Getting the Debian WSL box.

Alternatively, open PowerShell as admin and enter this command.

wsl --install Debian

Begin With the Fundamentals

The terminal is simply one other option to speak to your laptop, however as an alternative of clicking or dragging, you sort actual instructions. Let’s leap into it. Sort this after which hit Enter.

pwd
Finding the current directory.

The command stands for “print working listing.” Whenever you run it, you’ll see a folder location, sometimes the Dwelling listing. Everytime you wish to discover out the place you’re within the system, you may run this command. Let’s make a brand new textual content file on this Dwelling folder. Enter this command.

contact draft.txt

The contact command creates new recordsdata when you comply with it with the file identify and extension sort. When you run it, the Dwelling folder ought to now have a brand new plain textual content file. Let’s examine if it’s there. Sort ls and hit Enter. The ls command exhibits you a listing of all out there recordsdata within the present listing. We solely have one new file that we created.

Screenshot 2025-08-20 215255

You’ll be able to open the file and make adjustments to the plaintext file when you like. Sort nano after which the identify of the textual content file. Nano is an in-built textual content viewer instrument and when you sort nano and comply with it with a file identify, it opens it immediately.

As soon as we’ve the clean file open, we will now add textual content to the file. Press Ctrl+X after which Y to save lots of adjustments and exit again to the primary terminal. The textual content file ought to have been up to date now.

Now let’s go away the Dwelling listing and see the place else we will go, and the way we will deliver our recordsdata and folders with us. Let’s strive heading to the foundation listing.

cd ..

The cd command is brief for “change listing,” and its perform is self-explanatory. It adjustments your listing to no matter you sort. We typed two dots, which suggests take me one stage up, so we went from the Dwelling folder to the foundation folder. Sort ls to see what’s within the root folder.

Using cd to jump into the root folder.

Let’s return to Dwelling.

cd residence

Let’s create a brand new folder to maintain our plain textual content recordsdata. Right here’s what you sort.

sudo mkdir drafts

The “sudo” parameter enables you to run this command as root or admin. The mkdir command is shorthand for “make listing” and you then simply sort the identify of the folder you wish to create. You’ll be able to write as many names as you need and create as many folders. You’ll be able to sort ls and hit Enter to substantiate that the brand new folder is there.

Creating a new folder using mkdir.

Proper now, the plaintext file we created is sitting within the Debian folder, and we wish to transfer it to our Drafts folder. Let’s do this.

sudo mv draft.txt /residence/drafts

The sudo command, as soon as once more, is granting us root entry, and the “mv” command strikes the file “draft.txt” to the folder location /residence/drafts.

Let’s cd into the drafts and see if the file is definitely there. Certain sufficient, it’s there, and we will use the nano editor once more to view and alter the textual content file.

The “mv” command does double responsibility. It will possibly transfer a file when you give it a listing, however when you give it one other file identify, it capabilities as a rename command.

To rename a file:

mv draft.txt notes.txt

Now, if you need you may delete it.

rm notes.txt

As soon as eliminated utilizing rm (brief for take away), the file is gone endlessly as a result of there’s no recycle bin. By now your terminal should really feel fairly cluttered. You’ll be able to clear it by typing clear and hitting Enter.

Set up Apps

Linux app set up will really feel totally different when you’re used to solely putting in by means of downloaded recordsdata and GUI-based setup wizards. Linux variations like Debian deal with app installs, uninstalls, and updates by means of one thing known as a “package deal supervisor.” The package deal supervisor takes a set of easy instructions and routinely finds and installs the app you need from belief repositories. Totally different variations of Linux have different package managers, some even use a number of varieties.

On Debian and Debian derivatives, the package deal supervisor is known as APT. That’s the one we’ll use to put in and take away software program.

It’s a very good apply to replace the software program repos prior to installing any apps to ensure you’re getting probably the most up to date model.

sudo apt replace

Right here too, sudo runs the command following it with root privileges, apt is the package deal supervisor, and the replace command refreshes its software program repositories. Let’s strive putting in one thing now. We’ll get Fastfetch. Fastfetch is a tiny program that shows your system data within the terminal with lovely ASCII artwork.

sudo apt set up fastfetch

It should ask you to substantiate the set up. You are able to do so by urgent Y. And when the command finishes, simply sort the app’s identify and hit Enter:

fastfetch
Running Fastfetch on Debian WSL.

There you go. You simply ran your first Linux CLI app. You’ll be able to seek for packages or apps by swapping the “set up” parameter with “search” and take away apps by swapping it with “take away.” Uninstalling an app on Linux is so simple as:

sudo apt take away fastfetch

Construct a Workspace Inside Your Terminal

Linux provides an enormous library of instruments that work inside the terminal, and you will get just about something finished with the suitable instrument already out there without cost. And sure, you will get your work finished right here too, offered it isn’t graphics work. It’s potential to arrange GUI help for WSL, however that can take a complete information. For writing, knowledge entry, or coding workflows, the terminal is the final place you will get your work finished in peace.

You’ll be able to set up a complete workspace within the WSL terminal with a single command. Think about these 5 apps a starter pack. You’ll be able to swap or add apps you need. This workspace is completely offline and freed from all distractions.

sudo apt set up taskwarrior timewarrior calcurse qalc micro
Installing workspace apps on WSL.

Let’s have a look at these instruments one after the other. First up is Taskwarrior. This can be a activity record that works on FIFO (first in, first out) logic. It’s not a typical to-do record or a Kanban table which throws all the pieces at you without delay. You employ easy instructions to seize duties after which pull up the record, however you solely give attention to the highest activity. Clear it or mark it stalled and transfer on to the following and so forth.

Timewarrior is for monitoring your work hours. Whenever you begin a activity, begin the timer with a easy command to cease it when the duty is finished. It should routinely tag the duty and its period and supply you detailed summaries and studies of the place your time went.

Calcurse is a terminal-based calendar and to-do record. You’ll be able to preserve monitor of your appointments and duties with simply the keyboard.

We’ve got already used the Nano editor to edit our textual content recordsdata earlier than, however you will have seen it’s fairly dated and complicated to know. That’s why we’ll improve to Micro to work with paperwork. It’s much more intuitive, and you’ll write in it similar to you’ll in Home windows Notepad.

Qalc is extremely highly effective. It will possibly do unit conversions, math, and forex conversions instantly within the terminal and shows outcomes whilst you sort.

Collectively, these apps make a whole workspace that’s light-weight, native, and distraction-free. Duties and time monitoring are dealt with by the timewarrior and taskwarrior. You’ll be able to deal with appointments and agendas with Calcurse and notes or paperwork with Micro. It’s additionally totally modular and versatile as a result of you may add or take away apps to adapt to your specific workflows.

Write, Observe, and Plan Contained in the Terminal

Now that you just’ve arrange the workspace, let me present you how one can truly get your work finished on this area. First, let’s create a activity. You’ll be able to seize incoming duties utilizing the easy command “activity” adopted by “add” and the duty identify.

activity add write a information
Adding tasks to the list.

You’ll be able to repeat the identical command so as to add extra duties. Let’s see our activity record.

activity record

Each activity will get its personal ID and that’s the way you establish it and edit it. You simply work by means of the record by marking duties as finished or stalled. Whenever you’re finished with a activity, enter this command.

activity 1 finished

If a activity stalls, modify it:

activity 2 modify +ready

Duties are proven within the order they had been added. You have a look at the primary one, end it or mark it ready, then transfer to the following. I solely floor the very subsequent activity after I’m utilizing taskwarrior. Right here’s the way you do it.

activity record restrict:1
Showing the very next task with Taskwarrior.

To maintain monitoring of your time:

timew begin writing

Whenever you’re finished:

timew cease

You’ll be able to examine a abstract of the way you spent your time:

timew abstract
Timewarrior daily summary.

Now let’s have a look at the calendar. Launch it by typing the app’s identify:

calcurse

You’ll be able to see it cut up into three panes, which you’ll be able to transfer round utilizing the Tab key. When in a pane, press a so as to add an merchandise, and s to save lots of. Calcurse enables you to add particular timings to your appointments, or you may go away them clean for all-day occasions.

Using Calcurse to set agendas and reminders.

Press q to stop.

Now let’s work with paperwork. Let’s launch Micro and cargo the textual content file we created earlier than. It was within the Drafts folder, so we’ll cd there.

Open a file with:

micro notes.txt

When it opens, you may simply begin typing straight away.

Using Micro to edit text files.

Listed here are some helpful shortcuts to get you began:

  • Press Ctrl+S to save lots of
  • Ctrl+Q to stop Micro
  • Ctrl+E opens the command bar to go looking and change textual content.
  • Press Ctrl+G to tug up the shortcut cheat sheet.

Now to spherical all of it off, you should utilize Qalc for fast conversions.

Run it by typing:

qalc
Using Qalc for real-time currency conversions.

Simply enter your conversions and Qalc will show the outcomes as you sort. You’ll be able to run primary mathematical operations or convert items or currencies similar to that.

Sort stop to stop.

Information, Reddit, and Browser In Your Terminal

The terminal isn’t only for work. You’ll be able to keep within the terminal to examine the information or browse Twitter and Reddit. Newsboat is an RSS reader. It pulls articles from the feeds you select.

sudo apt set up newsboat
newsboat

It’ll warn you that no URLs are configured and present you the trail to the URLs file which you can edit. Copy that path after which open it with Micro.

Add your RSS feeds right here (one on every line). For instance:

http://rss.cnn.com/rss/cnn_topstories.rss
http://feeds.bbci.co.uk/information/rss.xml
https://rss.nytimes.com/companies/xml/rss/nyt/HomePage.xml

Press Ctrl+S to save lots of and stop with Ctrl+Q. Now open Newsboat by typing its identify within the terminal. You may need to press Shift+R to refresh the record.

Now let me present you how one can browse Reddit. Tuir is a Reddit shopper for the terminal, however it’s a Python app, and you’ll’t set up it instantly with the APT package deal supervisor. Run the next instructions one after the other.

sudo apt set up python3 python3-pip python3.13-venv

Then,

python3 -m venv webapps

supply webapps/bin/activate

Then to put in Tuir:

pip set up tuir-continued

Now run Tuir with this command

python3 -m tuir
Browsing Reddit in the terminal.

You’ll be able to login by urgent “u” or browse with out logging in. Whenever you’re logged in, you may put up and go away feedback too. Press “q” to stop.

You may also browse the web (type of). There are just a few terminal-based browsers which might be purely text-based and might load websites with out photographs and with out javascript.

sudo apt set up w3m
w3m howtogeek.com

You’ll be able to navigate with arrow keys and work together with Enter.

Browsing the internet with W3m.

Lastly, you may examine the climate for any location with a easy command (no want to put in a climate app). You could want to put in the curl instrument although, which might fetch and obtain content material from hyperlinks.

curl wttr.in

You’ll be able to add a location on the finish to see the forecast there.

curl wttr.in/london
Weekly forecast as seen on a WSL terminal.

Toys and Video games

You may also add video games and tiny enjoyable utilities to kill time. Press Ctrl+C to exit any of those.

Tetris

Bastet is a Tetris clone that runs completely within the terminal.

sudo apt set up bastet
bastet
Playing bastet on a WSL box.

Snake

That is simply the common snake however within the terminal.

sudo apt set up nsnake
nsnake
Playing snake in a WSL box.

Fortune and Cowsay

These two apps print a random fortune and have a cow say them.

sudo apt set up fortune cowsay
fortune | cowsay
Cowsay running in a WSL box.

Your WSL field is now a spot the place you may journal, get your work finished, browse the web, and even play just a few video games. That’s not all although. There may be much more you are able to do with a WSL field, so do not be afraid to experiment.


Source link