Brace expansion lets you generate arbitrary strings in your terminal. Place a comma-separated list of items in curly braces {} and add prefix and/or suffix. It will repeat the prefix / suffix for every item in the list.

# Deletes image-01.png, image-17.png and image-42.png
$ rm image-{01,17,42}.png


# "Hello " must be in quotes because it ends with a white space
# Without quotes it would generate "Hello World everyone"
$ echo "Hello "{World,everyone}
Hello World Hello Everyone


# Installs @radix-ui/react-accordion, @radix-ui/react-checkbox
# and @radix-ui/react-switch
npm i @radix-ui/{react-accordion,react-checkbox,react-switch}