Noob question about terminal

Hi I’m trying to start the Javascript course and trying to use terminal inside VScode and I get the following message. I checked the link but don’t understand it at all and don’t want to make changes that might mess up my computer. any help appreciated.

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit Use zsh as the default shell on your Mac - Apple Support.

Changing your default shell to zsh is not going to hurt your computer. You can run that command without any serious concerns. You would be able to run a similar command to change your default shell to a different shell (like bash, fish, ksh, etc). The chsh command stands for “change shell” and it just changes the default for your user (which was probably bash originally).

Hi thanks for the reply
I just found I have to change the shell in JScode in terminal to zsh but still nothing shows in the terminal and I get a strikethrough the word name when I use the console.log command:

let name = “phil”;
console.log(name);

You mean, you get a strikethrough the word name in the VSCode UI? What terminal you are using should have almost nothing to do with what shows up in the VSCode UI (other than in the terminal window). Maybe you can attach a screenshot?

2 Likes

It happens with me as well, but no need to worry because it works anyways though.

2 Likes

Yes strikethrough the word ‘name’ in VScode UI but it works anyway. I think I got it sorted after a bunch of googling. Thanks helping out!

2 Likes

yeah, I get the strikethrough too. Not a biggy as like you say, it works. But this being pretty much the first thing you start to do, its a bit confusing when it doesn’t strikethrough on the video (Basics 1- Variables)
image

1 Like