Git clone with specific version

Hi, how can I clone n8n from git with a specific version?

Hey @Asaf_Shay,

Depending on what you are using as your git client you can just grab the branch for the version you want using the tag so if you wanted to get 0.162.0 you can run

git clone --branch [email protected] [email protected]:n8n-io/n8n.git

I am not sure why you would want to do this though, Normally if you are using the version from Github you would be after the latest code.

1 Like