this post was submitted on 03 Apr 2025
3 points (100.0% liked)

JetBrains

250 readers
8 users here now

A community for discussion and news relating to JetBrains and its products! https://www.jetbrains.com/

Related Communities

Copyright © 2000-2024 JetBrains s.r.o. JetBrains and the JetBrains logo are registered trademarks of JetBrains s.r.o.

founded 1 year ago
MODERATORS
 

Is there a way to open a folder (a project) from terminal like in VS Code where you can

cd path/to/project
code ./

And VS Code opens up with that project (directory) ready

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 21 hours ago

I think I found the answer

Tools -> Create command line launcher

You'll be asked to add /Applications/WebStorm.app/Contents/MacOS to your $PATH

Then you can

cd /path/to/project
webstorm .

Worked for me at least.

Credit goes to LazyOne on StackOverflow