You can cook gnocchi by boiling it or baking it depending on the texture you're going for. Toss the packaged gnocchi in a pot of soup for a boiled texture. Bake it along with a tray bake for a soft and slight crunch on the outside texture.