Install claude and opencode via bootstrap; drop nvm in favor of fnm
This commit is contained in:
@@ -10,7 +10,6 @@ sudo pacman -Su --noconfirm
|
||||
sudo pacman -S --needed --noconfirm \
|
||||
fd \
|
||||
tmux \
|
||||
nvm \
|
||||
telegram-desktop \
|
||||
signal-desktop \
|
||||
alacritty \
|
||||
@@ -27,7 +26,8 @@ sudo pacman -S --needed --noconfirm \
|
||||
pcmanfm \
|
||||
wl-clipboard \
|
||||
openssh \
|
||||
mosh
|
||||
mosh \
|
||||
opencode
|
||||
|
||||
bob install nightly
|
||||
bob use nightly
|
||||
@@ -98,9 +98,17 @@ yay -S --needed --noconfirm \
|
||||
oh-my-posh \
|
||||
wezterm
|
||||
|
||||
# --- migrate off nvm to fnm ---------------------------------------------
|
||||
if pacman -Qi nvm &>/dev/null; then
|
||||
sudo pacman -R --noconfirm nvm
|
||||
fi
|
||||
rm -rf "$HOME/.nvm"
|
||||
|
||||
export PATH=/home/$USER/.fnm:$PATH
|
||||
eval "$(fnm env --use-on-cd --version-file-strategy=recursive)"
|
||||
|
||||
fnm install 24
|
||||
fnm use 24
|
||||
|
||||
npm install -g @anthropic-ai/claude-code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user