DEV Community

Alexander Kim
Alexander Kim

Posted on

1

Set up command line launcher in WebStorm 2024.2+

If you're using WebStorm 2024.2+ without JetBrains Toolbox, it won't install command-line launcher automatically.
Though, there's a menu "Tools > Create Command-line Launcher" that won't do anything useful, except showing you a link on how to do that,
but it's bugged for now.

MacOS setup

  1. Create a file under the following location: "/usr/local/bin/webstorm"
  2. chmod +x /usr/local/bin/webstorm
  3. File contents:
#!/bin/sh

open -na "WebStorm.app" --args "$@" > /dev/null 2>&1 &
Enter fullscreen mode Exit fullscreen mode

This would allow you to open any project in command-line, and type webstorm ., to open WebStorm in a current directory, without any errors.

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more