Guides

🛠️ Server Shell Setup

🛠️ Server Shell Setup

GitHub StarsGitHub DiscussionsPRs Welcome

The Devil Is In The Defaults

If you hold a unix shell up to your ear, can you hear the C?

Setup server shell with fish, nvim, nu, bun, node, helix, starship prompt, git0, systeminfo, pacstall installer, docker, and other dev tools. Fish aliases: service_manager, killport, and search [query].

System Support: Arch, Ubuntu/Debian, Android Termux, macOS, Fedora, Alpine

Install: Bash Script to Setup Shell

Launch Linux server instance, connect and on first time login you will need to run sudo passwd to set root password and sudo passwd $USER to set non-root password. You will need sudo password when running this setup script:

Install Interactive Menu (short URL to ./install-shell.sh):

wget -qO- dub.sh/dev.sh | bash

Install all automated:

 wget -qO- dub.sh/dev.sh | bash -s -- all

Install specific apps only:

 wget -qO- dub.sh/dev.sh | bash -s -- starship,docker,node

Install Node with Volta (no sudo permission issues)

wget -qO- dub.sh/getnode | bash

Example: System Info When Opening Shell

👤 deck 🏠 steamdeck 📁 90% 💾 2/14GB 🔝 6% cursor ⏱️ 1d 7h 18m 🌎 174.194.193.230 📍 San Jose 🔗 http://230.sub-174-194-193.myvzw.com 👮 Verizon Business ⚡ SteamOS 📈 AMD Custom APU 0405 💻 Jupiter 🔧 6.11.11-valve12-1-neptune-611-g517a46b477e1 🐚 fish 🚀 npm pip docker nvim bun🔌 57343stea46583stea27060stea40279stea27036stea8080stea 📦 docker-node

👤 u0_a365 🏠 localhost 📁 54% 💾 1/5GB 🔝 1% fish ⏱️ 4d 9h 19m 🌎 174.194.193.230 🌐 192.168.42.229 📍 San Jose 🔗 http://230.sub-174-194-193.myvzw.com 👮 Verizon Business ⚡ Android 13 📈 Kryo-4XX-Silver 💻 SM-G781U 🔧 4.19.113-27223811 🐚 nu 🚀 apt npm pip hx nvim

Reference Docs: 🪄 Magic Spells for Open Sourcery