zsh

How do I delete all the contents in a folder, but keep the folder itself?

How do I delete all files, folders, and links in a folder, but leave the folder itself? I have a temp folder and I put files ... manually delete each folder separately and for each to the file, then everything is normally deleted. What am I doing wrong?

zsh: command not found: ls on macOS Catalina

Tried to add export PATH="$HOME/Developer/flutter/bin using vim vim ~/.zshrc but something went wrong. Now almost all commands do not work, and echo $PATH outputs /Users/andrej/Developer/flutter/bin