Skip to content

Commit 9d85036

Browse files
committed
feat: add Homebrew installation script and refactor Makefile to support UV-based project initialization and dependency management
1 parent 593b33b commit 9d85036

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

setup_devenv/windows/setup-wsl2.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,15 @@ function configuring_oh_my_zsh() {
165165
echo "zsh" >> "${HOME}/.bashrc"
166166
}
167167

168+
function install_homebrew(){
169+
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && \
170+
test -d ~/.linuxbrew && sudo eval "$(~/.linuxbrew/bin/brew shellenv)"
171+
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
172+
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.bashrc && \
173+
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.zshrc
174+
}
175+
176+
168177
function install_miniconda() {
169178
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" && \
170179
MINICONDA_SHA256SUM="2284bafb7863a23411b19874d216e237964d4b32dd9beb6807fa8b2d84570961" && \
@@ -216,9 +225,6 @@ function install_nodejs() {
216225
npm -v # Should print "11.9.0".
217226
}
218227

219-
function install_gemini_cli() {
220-
npm install -g @google/gemini-cli
221-
}
222228

223229
function setup_docker() {
224230
echo ">>>>> Setting up Docker Engine... >>>>>"

0 commit comments

Comments
 (0)