Skip to content

Instantly share code, notes, and snippets.

@ai2ys
Last active May 31, 2026 17:46
Show Gist options
  • Select an option

  • Save ai2ys/1af19022e9c726ed030ede5c672a42b4 to your computer and use it in GitHub Desktop.

Select an option

Save ai2ys/1af19022e9c726ed030ede5c672a42b4 to your computer and use it in GitHub Desktop.
Setup for aihero.dev cohort-004

Setup for aihero.dev cohort-004

Using Windows 11 + WSL2

Installing prerequisites

Using misefor managing packages

curl https://mise.run | sh
echo 'eval "$($HOME/.local/bin/mise activate bash)"' >> ~/.bashrc
exec bash

# updating mise
# mise self-update

mise doctor

Installing node and pnpm

# globally installation for user
mise use -g node@lts
mise use -g pnpm@latest
mise current

# corepack enable
# corepack prepare pnpm@latest --activate
pnpm -v

Installing agents globally for user

https://pi.dev/

# installing agent CLIs
mise use -g aqua:anthropics/claude-code@latest
mise use -g aqua:openai/codex@latest
mise use -g npm:@github/copilot@latest
mise use -g npm:@earendil-works/pi-coding-agent@latest

# checking versions
mise ls
which pi && pi --version
which copilot && copilot --version
which codex && codex --version
which claude && claude --version

# updating agents
# check for outdated versions
mise outdated
# explicit updating of agent CLIs

mise upgrade \
  aqua:anthropics/claude-code 
  aqua:openai/codex 
  npm:@github/copilot 
  npm:@earendil-works/pi-coding-agent
  
# updating all globally installed tools
# will update "lts" only to newer "lts" versions
mise upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment