LoginSignup
2
2

More than 5 years have passed since last update.

cliからbrew-caskでインストールしたatom呼びたい

Last updated at Posted at 2014-09-07

何の気なしにbrew-caskでインストールしたatomをcliにてatomコマンドで呼ぼうとしたら

usage: dirname path
Cannot locate Atom.app, it is usually located in /Applications. Set the ATOM_PATH environment variable to the directory containing Atom.app.

とか言われてしまった時は

.zprofileなどに(bashのひとは.bash_profileに)
ATOM_PATHとしてatom.appがある場所書いてあげればいい
(まんまですね)

私の場合は以下のディレクトリでした

export ATOM_PATH=/opt/homebrew-cask/Caskroom/atom/latest
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2