从命令行启动Pycharm(终端) [英] Launch Pycharm from command line (terminal)
问题描述
我想试试PyCharm的圣贤数学发展。通常我运行eclipse来进行鼠尾草发育,但现在我想用PyCharm来尝试。
I want to try out PyCharm for sage mathematics development. Normally I run eclipse to do sage development, but now I want to try it with PyCharm.
要使用sage环境变量来启动eclipse,在命令行中我通常会执行以下操作:
To launch eclipse with sage environment variables, in command line I normally do the following:
sage -sh
cd /path/to/eclipse
./eclipse
第一行加载鼠尾草环境变量,其余部分启动eclipse。我怎么可以做同样的事情pycharm? (注意,我使用Mac和Ubuntu进行鼠标开发;上述命令对两种操作系统都是不可知的)
The first line loads the sage environment variables, the remainder launches eclipse. How can I do the same thing for pyCharm? (note I am using a Mac and Ubuntu for sage development; the commands above are agnostic to both OSes)
- Link 1 is close to the solution I am looking for, however I cannot find a pyCharm.sh anywhere.
- Link 2: Jetbrains does not give clear instructions either.
推荐答案
您可以使用open命令从Mac终端启动 Pycharm
。只需键入 open / path / to / App
You can launch Pycharm
from Mac terminal using the open command. Just type open /path/to/App
Applications$ls -lrt PyCharm\ CE.app/
total 8
drwxr-xr-x@ 71 amit admin 2414 Sep 24 11:08 lib
drwxr-xr-x@ 4 amit admin 136 Sep 24 11:08 help
drwxr-xr-x@ 12 amit admin 408 Sep 24 11:08 plugins
drwxr-xr-x@ 29 amit admin 986 Sep 24 11:08 license
drwxr-xr-x@ 4 amit admin 136 Sep 24 11:08 skeletons
-rw-r--r--@ 1 amit admin 10 Sep 24 11:08 build.txt
drwxr-xr-x@ 6 amit admin 204 Sep 24 11:12 Contents
drwxr-xr-x@ 14 amit admin 476 Sep 24 11:12 bin
drwxr-xr-x@ 31 amit admin 1054 Sep 25 21:43 helpers
/Applications$
/Applications$open PyCharm\ CE.app/
这篇关于从命令行启动Pycharm(终端)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!