How to install on localhost

I only want to try it on localhost(like: http://localhost:3000).