diff --git a/install.py b/install.py index 956b043..3a44ba3 100644 --- a/install.py +++ b/install.py @@ -16,6 +16,10 @@ linux_after_command = { 'zsh': 'sudo chsh -s $(which zsh) $(whoami) && curl -s https://ohmyposh.dev/install.sh | sudo bash -s -- -d /usr/local/bin && echo \'eval "$(oh-my-posh init zsh)"\' >> .zshrc' } +sh_packages = [ + 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash' +] + os_type = platform.uname().system.lower() is_linux = os_type == "linux" @@ -59,4 +63,5 @@ if __name__ == "__main__": if is_rhel: for p in rhel_packages: install(p) if is_linux: - for p in linux_packages: install(p) \ No newline at end of file + for p in linux_packages: install(p) + for c in sh_packages: os.system(c) \ No newline at end of file