DEV Community

Midhun Krishnan R
Midhun Krishnan R

Posted on

To access terminal profile of VS Code and add commands to be run initially

For windows,

Run this command in terminal,

code $PROFILE
Enter fullscreen mode Exit fullscreen mode

In the opened "Microsoft.PowerShell_profile.ps1", you can add the commands to be run always,
For example:

nvs auto on
Enter fullscreen mode Exit fullscreen mode

(by running this command, if the node version is specified in .nvmrc of the project. Then that node version would be taken)

Top comments (0)