Search

[학습] Clojure 환경세팅

Tags
학습
Clojure
Published Date
2024/09/14

주제

Clojure 스터디

목표

Clojure 환경 세팅할 수 있다

키워드

REPL
Leiningen
JVM
brew install emacs
emacs
Clojure cli
cider

정리

1.
Clojure는 JVM 위에서 돌기 때문에 JDK를 설치해야 한다
a.
brew install --cask temurin@21
b.
echo 'export PATH="/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/bin:$PATH"' >> ~/.zshrc
2.
Clojure CLI를 설치한다
a.
설치환경 apple sillicon mac
b.
brew install clojure/tools/clojure
3.
빌드 도구를 설치한다
a.
Leiningen을 설치한다
b.
brew install leiningen
4.
IDE를 설치한다
a.
vscode, intellij, emacs, vim 등이 있다
b.
IDE마다 같이 사용해야되는 플러그인 조합이 있다
i.
emacs
1.
clojure-mode
2.
CIDER
3.
inf-clojure
ii.
Intellij
1.
Cursive
2.
clojure-extras
iii.
VS Code
1.
Calva
c.
(필자는 vscode를 선택하겠다.. 이유는 ide 사용보다 일단 clojure를 익히는게 목적이기 때문이다)

참조

다음 질문

1.
Clojure 개발환경 만들기(vscode)