Skip to content

Instantly share code, notes, and snippets.

@m8ttyB
Forked from jlschrag/CLI
Created April 6, 2026 14:24
Show Gist options
  • Select an option

  • Save m8ttyB/b90fcdc4a890444e392dd238ebaa7871 to your computer and use it in GitHub Desktop.

Select an option

Save m8ttyB/b90fcdc4a890444e392dd238ebaa7871 to your computer and use it in GitHub Desktop.
Coder Setup
brew install docker colima
brew services start colima
curl -L https://coder.com/install.sh | sh
echo 'export DOCKER_HOST="unix://$HOME/.colima/default/docker.sock"' >> ~/.zshrc
vi ~/.ssh/config
# Make these additions to the ~/.ssh/config to allow the Coder Workspace to use the SSH keys from the host OS
Host *.coder
ForwardAgent yes
AddKeysToAgent yes
Host github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
coder login
coder config-ssh
coder server
coder ssh your_workspace
# The rest of these commands are within the coder workspace
git config --global user.name "Your Name"
git config --global user.email "me@email.com"
echo 'export GPG_TTY=$(tty)' >> ~/.bashrc
source ~/.bashrc
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
nvm install --lts
npm install @mariozechner/pi-ai
npm install @mariozechner/pi-agent-core
npm install -g @mariozechner/pi-coding-agent
pi
/login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment