Skip to content →

Tag: linux

Which ‘yarn’?

This has happened to me each time I setup a new Debian or Ubuntu environment. Firstly, the yarn command I am referring to here is the JavaScript “Yarn” package manager. The yarn that was installed or already installed was the one used by the cmdtest. I thought I had yarn installed when I checked using the command which yarn and out printed /usr/bin/yarn. $ which yarn /usr/bin/yarn When I ran yarn upgrade I got this weird error message: ~/src/a-javascript-project $…

Leave a Comment

‘git status’ in Your Prompt

Did you know: You can have a visual representation of the git status command output in your shell prompt? This is especially convenient for people who use the git command-line interface (CLI). Unfortunately, this doesn’t work with the Windows command prompt or cmd. But there are a few workarounds. git-prompt.sh Disclaimer: For this part of the article, I will show the how-tos by using Debian (on Windows Subsystem for Linux or WSL) and FreeBSD as examples. These are the Unix-like…

Leave a Comment

My Experience with Windows Subsystem for Linux (WSL)

One day on my way back home, I was listening to one of Hanselminutes’s podcast episodes titled “Inside Linux on Windows with WSL and Tara Raj”. This reminded me of the first time I tried it when Microsoft first announced it back in 2016. Then, it was called “Bash on Windows” and Microsoft collaborated with Canonical, the company behind Ubuntu. Personally, I didn’t use it much. It was just another shiny new toy and I didn’t have a use for…

Leave a Comment