The @babel/cli package allows you to transpile source code ahead of time; on the other hand, @babel/register transpiles it at runtime.