Skip to content

Instantly share code, notes, and snippets.

@clm-a
Last active April 9, 2025 09:59
Show Gist options
  • Save clm-a/0a15dd497324cf4ca2d4b562543ddf43 to your computer and use it in GitHub Desktop.
Save clm-a/0a15dd497324cf4ca2d4b562543ddf43 to your computer and use it in GitHub Desktop.
Manjaro Install Party
#!/bin/sh
sudo pacman -Syu --noconfirm
sudo pacman -Syu --needed git base-devel yay ncurses libssh inotify-tools --noconfirm
yay -S google-chrome ttf-victor-mono visual-studio-code-bin asdf-vm direnv fish --noconfirm --sudoloop
# ASDF
echo $'erlang 27.3\nelixir 1.18.3\nnodejs 18.17.0\npostgres 16.6' > $HOME/.tool-versions
(cut -d' ' -f1 .tool-versions | xargs -i asdf plugin add {}) && asdf install
# FISH SHELL
echo "\
if test -z \$ASDF_DATA_DIR
set _asdf_shims \"\$HOME/.asdf/shims\"
else
set _asdf_shims \"\$ASDF_DATA_DIR/shims\"
end
if not contains \$_asdf_shims $PATH
set -gx --prepend PATH \$_asdf_shims
end
set --erase _asdf_shims\
" >> ~/.config/fish/config.fish
echo "\
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
" | fish
sudo chsh -s /usr/bin/fish $USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment