Morkrom
Morkrom

Reputation: 578

Installing leiningen

I am trying to manually install Leiningen on OSX. Following the standard instructions at http://leiningen.org/, I:

  1. Downloaded the script.
  2. Copied it to ~/bin with my credentials. (I verified that bin is in my PATH)
  3. Attempted to set it to executable:

    ~::bin user$ chmod a+x lein.sh (seems to work here) ~:bin user$

  4. "Run it (lein) and it will download the self-install package"

Here is the terminal output:

-bash: lein: command not found

Why?

Comment if I can provide any relevant information.

Upvotes: 0

Views: 3820

Answers (1)

BillRobertson42
BillRobertson42

Reputation: 12883

If the script is in the path and called lein.sh rename it to lein. and you should be good to go. Windows allows you to elide the extension of some file types but unix/linux does not.

Upvotes: 3

Related Questions