Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Angular Basics: Here is how to setup code to run in terminal shell like Andrew

In order to setup the same configuration for code to run via shell like Andrew

https://code.visualstudio.com/docs/setup/mac

1 Answer

https://code.visualstudio.com/docs/setup/mac

If you just open VS code and try it won't recognize it since it needs to be in the applications directory. After you install, just restart the terminal and close out code if you have it open already. After this it will work fine and you can use the shell command code . to launch it from terminal. I hope this helps someone.