ANTLR 4在OS X上安装失败? [英] ANTLR 4 installation failed on OS X?
问题描述
我有一个关于在Unix系统(MacOS Sierra)上安装ANTLR的问题.
I've got a question about installing ANTLR on my Unix system (MacOS Sierra).
我遵循了快速入门步骤(用于OS X的ANTLR 4快速入门安装步骤),如ANTLR 4的首页所述.一切似乎都工作正常,但是每当我关闭终端时,export和alias命令似乎都消失了.有谁知道我可能做错了什么?谢谢!
I followed the Quick Start steps (ANTLR 4 Quick Start installation steps for OS X) as described on the homepage of ANTLR 4. Everything seems to be working fine but whenever i close my Terminal the export and alias commands seem to have disappeared. Does anyone have an idea what i might be doing wrong? Thank you!
p.s.我是OS X的新用户,正在使用终端.
p.s. I'm new to OS X and using the terminal.
推荐答案
将 export
和2个 alias
命令附加到 .bash_profile
文件在您的主目录中.
Append the export
and 2 alias
commands to the .bash_profile
file in your home directory.
每次打开终端时,都会加载该文件的内容.
Every time you open a terminal, the contents of that file is loaded.
这篇关于ANTLR 4在OS X上安装失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!