HowTo Fix Code command not found| Open bash_profile in Visual Studio Code

preview_player
Показать описание
Hey, Guy's Hope you all are doing well!
This is a sweet short tutorial on how you can open bash profile to setup environment Path for Flutter, Android Studio, React Native, etc.

You can directly open the bash profile in your VsCode App, By Typing
code ~/.bash_profile
But if you directly type it in your terminal it will give you an error.

code: command not found

So here's how to fix it -
open VsCode
press Shift+cmd+P
in there search for install shell command install code
install it upon successful installation you'll see a notification pop up as shown in the video.

Now type the same command in terminal to open bash_profile and it will open up in VsCode and you can enter your path to setup environment variables.....
/*
How to Set Environment path on mac os
How to open bash_profile in vscode
How to install Vscode command shell plugins
*/

#vscode #codecommandnotfound #fixit #howto #tutorial

Hope you find this video helpful
until the next video Stay Rad!
Рекомендации по теме
Комментарии
Автор

when i write shell command it says no command found

RakeshSingh-oupo
Автор

0:33 when I tried to write "shell" at this moment its showing "no matching commands"

XengShi
Автор

Thanks man! I was struggling with this for 30 minutes haha

hatemsoliman
Автор

Thank you... I was struggling with this for a long time

DarbazDara
Автор

I cant find "shell command : install code command in path" in my command pallet. What should I do? ( in Angular)

vimukthisadithya
Автор

I did this but its just empty on my .bash profile on VS code.... help

nadinamanda
Автор

But why do I keep installing code command? Like every time I quit VS Code - I have to install code command or it won't work in terminal.

ruhamayared
Автор

This is for mac, what should I do for the windows? even I can't install the code yet....please help.

CraftyGuruma
Автор

I'm using the web browser method because of an online class I'm taking. I don't see the shell command install code path option at all. Anyone have any ideas??? I can't find documentation on it anywhere.

OGHelloKT
Автор

I linux just reinstall. That wont shows. sudo apt reinstall code

JuniorMenezes
Автор

I write "Shell" and show message "no matching commands" I have Linux Mint

oscarj
Автор

copy all the things in python folder and paste it in microsoft vs code folder trust me it works

rjj
Автор

Shell command is not showing when i search it.
How to do the process in windows

vijais
Автор

Now it's showing
EACCES: permission denied,
unlink '/usr/local/bin/code'
Please help 🙏🏻😢

nikhil
Автор

I have like this error fo my (R) key is it work for it ?!

hesam
Автор

I'm stuck on a beginner problem of using git please a little Help is really appreciated I'm stuck on this for many days😟. So Whenever I create a new folder (For ex: repo) and on doing pwd (i.e., repo pwd ) even on changing directory (i.e., cd repo) it still always shows "command not found"
please

lunaticfringe
Автор

command pallete me mai shell command likh rhi hu to kuchh nhi show kr rha hai
please reply

rasisingh
Автор

I had to leave the music was killing me. A simple spoken explanation may get you more views...Just a thought...

adammarez