windows-terminal

Is it possible to open VSCode from Windows terminal while SSH'ed into a virtual machine?

孤街浪徒 提交于 2021-01-29 19:56:36
问题 I'm working on some tutorials and trying to do something, but no idea if it can be done. I am using windows terminal in Windows 10. I have an Ubuntu virtual machine running. I'd like to: Open Windows terminal SSH into the Linux Virtual Machine Type in the code . command and have it open a version of VS Code on my Windows PC that is working on the folder in the Ubuntu VM. I tried install code locally and on the command line in the other machine, but it doesn't work. I am sure there are other

How to run an executable in Windows Terminal?

混江龙づ霸主 提交于 2021-01-29 07:44:54
问题 I want to run an executable with Windows Terminal. Something like this: wt.exe myConsoleApp.exe But this only opens the Terminal itself. Making the Terminal the default for all ps1 , bat and command line exe files would work too. 回答1: Update: This is now possible with: wt myConsoleApp.exe 回答2: You should include start when you want to run an executable. For example: start wt.exe Also note that, you should include the full file path if you are not currently on the directory of your executable

Can't run php artisan on ubuntu terminal on windows 10 machine

走远了吗. 提交于 2021-01-29 07:12:01
问题 I am trying to run artisan commands on ubuntu terminal from Windows machine, using Windows terminal and Ubuntu app from Microsoft store. Tried and searched many times but still no progress. I tried steps in this question Laravel PHP Command Not Found as when I am running php artisan .. error shows "Command 'php' not found, but can be installed with:sudo apt install php7.4-cli" also I downloaded laravel globally on my windows machine but when I try to run laravel on ubuntu terminal "/usr/bin

Git Bash in Windows Terminal is opening in a separate window

天大地大妈咪最大 提交于 2020-07-09 06:54:12
问题 I want to add git bash to the windows terminal, however, when I add a new git bash tab in the terminal the git bash opens in a different window. Here's my configuration: { "guid": "{--------------------}", "acrylicOpacity" : 0.75, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "C:\\Users\\anonymous\\AppData\\Local\\Programs\\Git\\git-bash.exe", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Consolas", "fontSize" : 10, "historySize" : 9001, "icon" : "C:\

How do I get Windows 10 Terminal to launch WSL?

无人久伴 提交于 2020-05-09 18:24:31
问题 I'm using the new Windows Terminal, and trying to get it to launch my WSL terminal. This is the setting that I'm trying to use: { "acrylicOpacity" : 0.75, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "%LOCALAPPDATA%/wsltty/bin/mintty.exe --WSL= --configdir='%APPDATA%/wsltty' -~ ", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Consolas", "fontSize" : 10, "guid" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "historySize" : 9001, "icon" : "ms-appx://

How do I get Windows 10 Terminal to launch WSL?

99封情书 提交于 2020-05-09 18:24:01
问题 I'm using the new Windows Terminal, and trying to get it to launch my WSL terminal. This is the setting that I'm trying to use: { "acrylicOpacity" : 0.75, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "%LOCALAPPDATA%/wsltty/bin/mintty.exe --WSL= --configdir='%APPDATA%/wsltty' -~ ", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Consolas", "fontSize" : 10, "guid" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "historySize" : 9001, "icon" : "ms-appx://

Adding Git-Bash to the new Windows Terminal

﹥>﹥吖頭↗ 提交于 2019-12-20 08:24:05
问题 I'm trying to add a new terminal (Git Bash) to the new Windows Terminal, however I can't get it to work. I tried changing the commandline property in the profiles array to git-bash.exe but no luck. Does anyone have an idea how to get this to work? Thanks in advance. 回答1: Git for Windows { "guid": "{00000000-0000-0000-ba54-000000000002}", "acrylicOpacity" : 0.75, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "\"%PROGRAMFILES%\\git\\usr\\bin\\bash.exe\" -i -l", "cursorColor"