Notes from setting up a fresh Node/TypeScript project in mid-2026 — grounded in the actual package.json/.npmrc of a real repo, not generic advice.
As of mid-2026:
| Line | Status | Notes |
|---|
| From: https://ubuntu.com/desktop/docs/en/latest/how-to/create-a-bootable-usb-stick/#using-the-macos-command-line | |
| diskutil list | |
| # /dev/disk4 is the external one in this case | |
| diskutil unmountDisk /dev/disk4 | |
| sudo dd if=ubuntu-26.04.1-live-server-amd64.iso of=/dev/rdisk4 bs=4m status=progress | |
| diskutil eject /dev/disk4 |
| # Install latest Go (system-wide, all users) | |
| ARG TARGETARCH | |
| RUN set -eux; \ | |
| GOVERSION=$(curl -fsSL "https://go.dev/VERSION?m=text" | head -1); \ | |
| curl -fsSL "https://go.dev/dl/${GOVERSION}.linux-${TARGETARCH}.tar.gz" \ | |
| | tar -C /usr/local -xz | |
| ENV GOPATH=/home/agent/go | |
| ENV PATH="/usr/local/go/bin:${GOPATH}/bin:${PATH}" |
QKo-op_gR9IACCESS_KEY_GOES_HEREOther goals:
Follow instructions here: https://gist.github.com/Beneboe/3183a8a9eb53439dbee07c90b344c77e
When you merge commits via GitHub UI (say "squash and merge"), GitHub will sign the commit itself.
Import GitHub webflow key so key is verified when you run git log --show-signature
msg!("Some variable: {:?}", variable);anchor test to run the program through the tests. However you won't find the output there.program-logs folder in your Anchor project. It'll be recreated each time you run the program.This is subtly mentioned in the docs and can be found in the CLI docs here: https://book.anchor-lang.com/chapter_4/cli.html#test
The https://github.com/Developer-DAO/pixel-avatars project has a non-standard place for the contracts so the OpenZeppelin imports are shown with a red lint error.
For Solidity VSCode plugin, set "Package Default Dependencies Directory" to contract/node_modules instead of default node_modules.
VSCode can then find the OpenZeppelin imports.