How to add the python command line? #6247

Closed
opened 2026-01-31 00:33:19 +00:00 by claunia · 5 comments
Owner

Originally created by @fligiere on GitHub (Feb 2, 2020).

Hello,
on my computer I installed python and I would like to know if we can add the python command line in Windows Terminal.
If possible, you can tell me how to do it.

thank you in advance

Originally created by @fligiere on GitHub (Feb 2, 2020). Hello, on my computer I installed python and I would like to know if we can add the python command line in Windows Terminal. If possible, you can tell me how to do it. thank you in advance
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 00:33:19 +00:00
Author
Owner

@nikeplusdash commented on GitHub (Feb 2, 2020):

Hi,
You can do this by adding profiles in the settings of the preview.
I have added the following,

{
    "name": "Python",
    "commandline": "python.exe",
    "hidden": false
}

For detailed explanation on the profiles.json check out this:
https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md
https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md

@nikeplusdash commented on GitHub (Feb 2, 2020): Hi, You can do this by adding profiles in the settings of the preview. I have added the following, ```JSON { "name": "Python", "commandline": "python.exe", "hidden": false } ``` For detailed explanation on the profiles.json check out this: https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 2, 2020):

Closing this as it’s been answered. Thanks @nikeplusdash

@DHowett-MSFT commented on GitHub (Feb 2, 2020): Closing this as it’s been answered. Thanks @nikeplusdash
Author
Owner

@fligiere commented on GitHub (Feb 3, 2020):

Hello,
do not fill in the "guid" field ?

@fligiere commented on GitHub (Feb 3, 2020): Hello, do not fill in the "guid" field ?
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 3, 2020):

Correct. Do not provide the guid field.

@DHowett-MSFT commented on GitHub (Feb 3, 2020): Correct. Do not provide the `guid` field.
Author
Owner

@fligiere commented on GitHub (Feb 3, 2020):

ok thanks

@fligiere commented on GitHub (Feb 3, 2020): ok thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6247