diff --git a/dev/fedora/dev.sh b/dev/fedora/dev.sh index f5fce2b..d3ca584 100644 --- a/dev/fedora/dev.sh +++ b/dev/fedora/dev.sh @@ -3,6 +3,7 @@ cp ../tmux/tmux.conf ~/.tmux.conf sudo dnf install zig -y sudo dnf install neovim -y +sudo dnf install curl git -y sudo dnf install npm -y sudo dnf install go -y sudo dnf install ripgrep -y @@ -29,6 +30,22 @@ sudo dnf install code -y sudo dnf copr enable zawertun/hack-fonts -y sudo dnf install hack-fonts -y +# asdf +sudo dnf groupinstall "Development Tools" +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +echo >>/home/carlos/.bashrc +echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >>~/.bashrc +eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" +brew install gcc + +# asdf -depends on brew- +brew install asdf +echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >>~/.bashrc +echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >>~/.bashrc + +asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git +asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git + # Docker sudo dnf -y install dnf-plugins-core sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo