We recommend purchasing a chicken and naming it with a value of something you really need.
Note you can also do the same thing when naming an animal you are buying, but that only works the one time. Naming your character with these values will cause the items you indicated to spawn in your inventory whenever your name is referenced within the game. Instead of a name, you must name your character using a string of 1-3 item code values, each surrounded by brackets (for example, you might name your character or just. Stardew Valley allows you to name your character anything you want, which you can exploit for this cheat (that works on all systems, including Switch!).