Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant open vs code from wsl terminal #10725

Open
Iano-theDev opened this issue Feb 22, 2025 · 1 comment
Open

Cant open vs code from wsl terminal #10725

Iano-theDev opened this issue Feb 22, 2025 · 1 comment
Assignees
Labels
info-needed Issue requires more information from poster wsl Issue in vscode-remote WSL

Comments

@Iano-theDev
Copy link

Type: Bug

y:~$ code .

Command 'code' not found, but can be installed with:

sudo snap install code

Extension version: 0.88.5
VS Code version: Code 1.97.2 (e54c774e0add60467559eb0d1e229c6452cf8447, 2025-02-12T23:20:35.343Z)
OS version: Windows_NT x64 10.0.26120
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 2496)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 7.88GB (1.88GB free)
Process Argv --crash-reporter-id 233b269a-642f-4c98-8a0b-ed9a568a2cf1
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-20.04
OS Linux x64 5.15.167.4-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 0)
Memory (System) 4.81GB (2.58GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31242946
customenabled:31241370
8did9651:31230678
9064b325:31222308
copilot_t_ci:31222730
jda6j935:31233686
copilothoveroff:31240707

@vs-code-engineering vs-code-engineering bot added the wsl Issue in vscode-remote WSL label Feb 22, 2025
@aeschli
Copy link
Contributor

aeschli commented Feb 24, 2025

Can you run env | grep PATH?
It should show a folder remote-cli. If not, you might have redefined the PATH variable in some shell startup script.

@aeschli aeschli added the info-needed Issue requires more information from poster label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster wsl Issue in vscode-remote WSL
Projects
None yet
Development

No branches or pull requests

2 participants