Shorten your commands in terminal with alias

I was using netlify dev a lot to spin up my dev server. I found out a way to shorten the command in my terminal using aliases. Here’s how:

alias nd="netlify dev"

That’s it! Make sure there are no spaces around the equals sign. To unassign the alias, simply run:

unalias nd

To see your list of aliases, run:

alias

Hope this helps!

Leave a Reply

Your email address will not be published. Required fields are marked *