Installing sbsh on Linux¶
Install sbsh on Linux systems (Ubuntu, Debian, RHEL, CentOS, etc.).
Quick Install¶
# Set your architecture (default shown)
export ARCH=amd64 # Options: amd64, arm64
# Install sbsh
curl -L -o sbsh https://github.com/eminwux/sbsh/releases/download/v0.6.0/sbsh-linux-${ARCH} && \
chmod +x sbsh && \
sudo install -m 0755 sbsh /usr/local/bin/sbsh && \
sudo ln -f /usr/local/bin/sbsh /usr/local/bin/sb
Verify Installation¶
Autocomplete Setup¶
Bash¶
Add to ~/.bashrc:
Reload your shell:
Zsh¶
Add to ~/.zshrc:
Reload your shell:
Alternative Installation Methods¶
Manual Installation¶
Download and install manually:
# Download
wget https://github.com/eminwux/sbsh/releases/download/v0.6.0/sbsh-linux-amd64
# Make executable
chmod +x sbsh-linux-amd64
# Install
sudo mv sbsh-linux-amd64 /usr/local/bin/sbsh
sudo ln -f /usr/local/bin/sbsh /usr/local/bin/sb
User-local Installation¶
Install to ~/bin (add to PATH):
mkdir -p ~/bin
curl -L -o ~/bin/sbsh https://github.com/eminwux/sbsh/releases/download/v0.6.0/sbsh-linux-amd64
chmod +x ~/bin/sbsh
ln -f ~/bin/sbsh ~/bin/sb
# Add to PATH in ~/.bashrc or ~/.zshrc
export PATH="$HOME/bin:$PATH"
Troubleshooting¶
Permission Denied¶
If you get permission errors, ensure the binary is executable:
Command Not Found¶
If sbsh is not found after installation:
- Verify the binary is in your PATH:
which sbsh - Check
/usr/local/binis in PATH:echo $PATH - Reload your shell:
source ~/.bashrcorsource ~/.zshrc
PTY Issues¶
If you encounter PTY-related errors:
Next Steps¶
- Getting Started - Your first terminal session
- Prerequisites - System requirements