To get your code into the Pico, it needs to be a .uf2 file.
Then you just copy that file onto the Pico and it is installed.
To get the Pico to show up as a USB mass storage device, hold down
the bootsel button when you plug it in.
Tom's electronics pages / tom@mmto.org