Launch Anaconda setup in PowerShell from the Windows Terminal #6088

Open
opened 2026-01-31 00:29:29 +00:00 by claunia · 0 comments
Owner

Originally created by @dfinke on GitHub (Jan 22, 2020).

I can use the commandline value and launch the environment with Win+r. In the settings file, it complains about the value. Is there an arguments property that can be set with that syntax?

        {
            "acrylicOpacity" : 0.5,
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "commandline" : "powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& 'C:\\ProgramData\\Anaconda3\\shell\\condabin\\conda-hook.ps1' ; conda activate 'C:\\ProgramData\\Anaconda3' " ",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 14,
            "guid" : "{bd3ec972-9de6-4e4a-a353-62d035770223}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{bd3ec972-9de6-4e4a-a353-62d035770223}.png",
            "name" : "Anaconda",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : false
        }
Originally created by @dfinke on GitHub (Jan 22, 2020). I can use the `commandline` value and launch the environment with `Win+r`. In the settings file, it complains about the value. Is there an `arguments` property that can be set with that syntax? ```json { "acrylicOpacity" : 0.5, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& 'C:\\ProgramData\\Anaconda3\\shell\\condabin\\conda-hook.ps1' ; conda activate 'C:\\ProgramData\\Anaconda3' " ", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Consolas", "fontSize" : 14, "guid" : "{bd3ec972-9de6-4e4a-a353-62d035770223}", "historySize" : 9001, "icon" : "ms-appx:///ProfileIcons/{bd3ec972-9de6-4e4a-a353-62d035770223}.png", "name" : "Anaconda", "padding" : "0, 0, 0, 0", "snapOnInput" : true, "startingDirectory" : "%USERPROFILE%", "useAcrylic" : false } ```
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 00:29:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6088