Q:

Update Angular CLi in a Git project

This might be a stupid question, but I couldn't find any answer to it.
I'm currently working on an Angular2+ project with a team (Angular 6.0.0 to be precise). We use Git in order to share and merge code (I'm far from being a git nor Angular expert though!).
This morning I created a branch to update Angular CLI from version 6.0.0 to 6.1.1 and then merge this branch with master. 
[edit]
I did exactly:
git checkout -b UPDATE/AngularCLI_6.1.1
npm install --save-dev @angular/cli@latest (took a while)
ng -v (showed Angular CLI: 6.1.1)
Then I opened a merge request that has been validated by my peers.
Then I did :
git checkout -b FEATURE/blabla
git pull origin master
After I pulled "origin master" from my feature branch, I ran "ng -v" and saw such warning :
"Your global Angular CLI version (6.1.1) is greater than your local
version (6.0.0). The local Angular CLI version is used."
I then checked my package.json file and it states :
"@angular/cli@^6.1.1":
  version "6.1.1"
Now I'm lost :') Shouldn't my morning update be taken into account when using Angular CLI commands ?
Thanks in advance !
[edit] Thanks to @jonatjano, I ran "yarn install" in my folder then "ng -v" would indicate the right version.

A:

As @jonatjano mentions in the comments, 

try running npm or yarn whatever you use to make the node_module folder up to date

I ran yarn install and ng -v now indicates the right version. 

