
thanks for ur help. but I ran all the cmds as shown above, I just got three folders

I dont know how to get the complete one like

thanks
Take a look at this
https://github.com/ipfs/go-ipfs/blob/master/docs/windows.md
When you're done ipfs.exe should be in %GOPATH%/bin/
I personally use msys2 to build on Windows and use a batch file to update my builds. I keep the repo isolated on my system for testing, it's not required.
SET ORIGGOPATH=%GOPATH%
SET ORIGPATH=%PATH%
SET GOPATH=C:\tmp
IF NOT EXIST %GOPATH%\bin\gx.exe (
go get -u "github.com/whyrusleeping/gx"
)
IF NOT EXIST %GOPATH%\bin\gx-go.exe (
go get -u "github.com/whyrusleeping/gx-go"
)
pushd %GOPATH%\src\github.com\ipfs\go-ipfs
::git checkout master
git pull
make install
ipfs shutdown
ping -n 3 localhost
popd
move /Y %GOPATH%\bin\ipfs.exe %ORIGGOPATH%\bin\ipfs.exe
SET GOPATH=%ORIGGOPATH%
SET PATH=%ORIGPATH%
ipfs daemon 2>&1 | tee ipfs.log
@TimothyWang123 the code that builds the distribution package lives in separate repo.
I am slowly working on bringing it to go-ipfs itself including building full, portable source package.
@djdv thanks , bu it seems some cmds are not available on my computer,like ipfs shutdown.

What is your ipfs --version?
@TimothyWang123 shutdown was added somewhat recently https://github.com/ipfs/go-ipfs/pull/3884 you likely won't have it on the first build but subsequent builds should be fine, it's not required either way, it's just to make sure "ipfs.exe" is not in use so that it may be overwritten with the move command, the ping following shutdown is just to make sure the file handle is closed in time (I had issues with this early on, maybe it's fine now).
If you make sure your exe is not in use before building, you could remove both of those lines.
You also don't have to pipe the output to tee, I just do that for catching crashes and to fix cli colours (https://github.com/ipfs/go-ipfs/issues/2124).
@Kubuxu 0.4.9 centos7
@djdv thanks,I see
I think this is resolved, feel free to reopen or open a new issue as needed.