-
-
Save m8ttyB/b90fcdc4a890444e392dd238ebaa7871 to your computer and use it in GitHub Desktop.
Coder Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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