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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more