Skip to content

Instantly share code, notes, and snippets.

@jkeam
Last active July 15, 2026 20:59
Show Gist options
  • Select an option

  • Save jkeam/2447cb03692fea7f62acc2fde1d5ed62 to your computer and use it in GitHub Desktop.

Select an option

Save jkeam/2447cb03692fea7f62acc2fde1d5ed62 to your computer and use it in GitHub Desktop.
OpenClaw Installation on Fedora
#!/bin/bash
# be "root" user
# set timezone
timedatectl set-timezone America/New_York
# add "claw" user and let them sudo
useradd -m -s /bin/bash -G wheel claw
# allow passwordless sudo for "claw" user
visudo
# add the following (without the # of course)
# claw ALL=(ALL) NOPASSWD: ALL
# become claw user to set up ssh
su - claw
mkdir ~/.ssh && chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys && chmod 644 ~/.ssh/authorized_keys
# add your ssh key to ~/.ssh/authorized_keys
# install openclaw as "claw" user
curl -fsSL https://openclaw.ai/install.sh | bash
# note: node and openclaw will be installed
# if node is already installed, then only openclaw will be installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment