Remove the leading slash if you want to run the export command directly in a terminal. Note: The leading slash \ is required to prevent $PATH from expanding during the concatenation. To do so run the following commands: cat > ~/.bash_profile # Add Visual Studio Code (code) export PATH=" \$ PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" EOF Instead of running the command above, you can manually add VS Code to your path, bash_profile (or equivalent) from an early VS Code version, remove it and replace it by executing the Shell Command: Install 'code' command in PATH command. Note: If you still have the old code alias in your. ' in any folder to start editing files in that folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |