Latiest Pocket ic?

What happened to pocket IC? How to install it now? Does it come with dfx by default now? I installed it the old way and it does not work. please guid me

dfx start runs PocketIC now. If you want to download it manually, use these instructions. But I would actually suggest using a client library since those usually automatically handle download/installation.

Are there Any js examples?

There’s some examples in the pic-js docs: @dfinity/pic - npm