For this to work, `code` command should be in the system path. If it isn't, you can add it to path by following these steps:

1. Launch VS Code

2. Open up command palette (press Command + Shift + P) and type `Install 'code' command in PATH command`

3. Click on the command.

4. Restart terminal

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Pavindu Lakshan
Pavindu Lakshan

Written by Pavindu Lakshan

Software Engineer at WSO2 | Tech Blogger | Open-source Enthusiast - Views and opinions are strictly my own

No responses yet

Write a response