# Shell Scripts # Github

🐥🍎 Unix

comfyui.bash

AMD

curl -sSf "sh.davidalsh.com/comfyui.bash" | bash -s -- --gpu=amd --platform=gfx120X-all

NVIDIA

curl -sSf "sh.davidalsh.com/comfyui.bash" | bash -s -- --gpu=nvidia --platform=cu118

CPU

curl -sSf "sh.davidalsh.com/comfyui.bash" | bash -s -- --gpu=cpu

Options

--gpu 
  [amd, nvidia, cpu] 
  graphics card to install pytorch with

--platform 
  [gfx110X-dgpu, gfx1151, gfx120X-all, gfx94X-dcgpu, gfx950-dcgpu, cu118, cu126, cu128]
  Pytorch backend to install

--pre 
  [optional] 
  Install pytorch with --pre flag

--out-dir 
  [FILEPATH] [default: $PWD/ComfyUI] 
  Target directory to install ComfyUI into

--systemd 
  [optional] 
  Linux only, setup a systemd unit to run ComfyUI as a background process

--modify-path
  [optional] 
  Add comfyui command to .zshrc and .bashrc

Uninstall

Simply delete the ComfyUI folder

rm -rf /path/to/comfyui

If you added comfyui to path then you need to remove the directory from your bash profile


nano $HOME/.zshrc
nano $HOME/.bashrc

Windows

Note: I'll probably make a powershell script one day so you don't need git bash

deno.sh

eval $(curl -sSf "sh.davidalsh.com/deno.sh" | sh -s -- --version=latest --out-dir=./)

find-parent-file.sh

eval $(curl -sSf "sh.davidalsh.com/find-parent-file.sh" | sh -s -- --version=latest --out-dir=./)

flatdir.sh

eval $(curl -sSf "sh.davidalsh.com/flatdir.sh" | sh -s -- --version=latest --out-dir=./)

go.sh

eval $(curl -sSf "sh.davidalsh.com/go.sh" | sh -s -- --version=latest --out-dir=./)

http-server-rs.sh

eval $(curl -sSf "sh.davidalsh.com/http-server-rs.sh" | sh -s -- --version=latest --out-dir=./)

just.sh

eval $(curl -sSf "sh.davidalsh.com/just.sh" | sh -s -- --version=latest --out-dir=./)

mpm.sh

eval $(curl -sSf "sh.davidalsh.com/mpm.sh" | sh -s -- --version=latest --out-dir=./)

nodejs.sh

eval $(curl -sSf "sh.davidalsh.com/nodejs.sh" | sh -s -- --version=latest --out-dir=./)

omzsh.sh

eval $(curl -sSf "sh.davidalsh.com/omzsh.sh" | sh -s -- --version=latest --out-dir=./)

ping.sh

eval $(curl -sSf "sh.davidalsh.com/ping.sh" | sh -s -- --version=latest --out-dir=./)

python.sh

eval $(curl -sSf "sh.davidalsh.com/python.sh" | sh -s -- --version=latest --out-dir=./)

rrm.sh

eval $(curl -sSf "sh.davidalsh.com/rrm.sh" | sh -s -- --version=latest --out-dir=./)

rust.sh

eval $(curl -sSf "sh.davidalsh.com/rust.sh" | sh -s -- --version=latest --out-dir=./)

terraform.sh

eval $(curl -sSf "sh.davidalsh.com/terraform.sh" | sh -s -- --version=latest --out-dir=./)

uutils.sh

eval $(curl -sSf "sh.davidalsh.com/uutils.sh" | sh -s -- --version=latest --out-dir=./)

vultr-cli.sh

eval $(curl -sSf "sh.davidalsh.com/vultr-cli.sh" | sh -s -- --version=latest --out-dir=./)

which-platform.sh

eval $(curl -sSf "sh.davidalsh.com/which-platform.sh" | sh -s -- --version=latest --out-dir=./)

wp.sh

eval $(curl -sSf "sh.davidalsh.com/wp.sh" | sh -s -- --version=latest --out-dir=./)

🟦 Windows

comfyui.bash

AMD

curl -sSf "sh.davidalsh.com/comfyui.bash" | bash -s -- --gpu=amd --platform=gfx120X-all

NVIDIA

curl -sSf "sh.davidalsh.com/comfyui.bash" | bash -s -- --gpu=nvidia --platform=cu118

CPU

curl -sSf "sh.davidalsh.com/comfyui.bash" | bash -s -- --gpu=cpu

Options

--gpu 
  [amd, nvidia, cpu] 
  graphics card to install pytorch with

--platform 
  [gfx110X-dgpu, gfx1151, gfx120X-all, gfx94X-dcgpu, gfx950-dcgpu, cu118, cu126, cu128]
  Pytorch backend to install

--pre 
  [optional] 
  Install pytorch with --pre flag

--out-dir 
  [FILEPATH] [default: $PWD/ComfyUI] 
  Target directory to install ComfyUI into

--systemd 
  [optional] 
  Linux only, setup a systemd unit to run ComfyUI as a background process

--modify-path
  [optional] 
  Add comfyui command to .zshrc and .bashrc

Uninstall

Simply delete the ComfyUI folder

rm -rf /path/to/comfyui

If you added comfyui to path then you need to remove the directory from your bash profile


nano $HOME/.zshrc
nano $HOME/.bashrc

Windows

Note: I'll probably make a powershell script one day so you don't need git bash

just.ps1

iex ((New-Object System.Net.WebClient).DownloadString('https://sh.davidalsh.com/just.ps1'))

nodejs.ps1

iex ((New-Object System.Net.WebClient).DownloadString('https://sh.davidalsh.com/nodejs.ps1'))

ping.ps1

iex ((New-Object System.Net.WebClient).DownloadString('https://sh.davidalsh.com/ping.ps1'))

rust.ps1

iex ((New-Object System.Net.WebClient).DownloadString('https://sh.davidalsh.com/rust.ps1'))

uutils.ps1

iex ((New-Object System.Net.WebClient).DownloadString('https://sh.davidalsh.com/uutils.ps1'))